1
0
This commit is contained in:
2024-06-07 02:27:57 +08:00
parent 14a3489609
commit 90be4a6a24
4 changed files with 62 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ conda install pytorch::pytorch torchvision torchaudio -c pytorch -y
pip install -r requirements.txt
```
## MAC
## WIN
```shell
# 安装 pytorch v1.12版本已经正式支持了用于mac m1芯片gpu加速的mps后端
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
@@ -23,7 +23,15 @@ conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvi
pip install -r requirements.txt
```
## gpt4free
## Linux
```shell
# 安装 pytorch v1.12版本已经正式支持了用于mac m1芯片gpu加速的mps后端
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
pip install -r requirements.txt
```
pip install -U g4f[all]
## Proxy
```shell
-i https://pypi.tuna.tsinghua.edu.cn/simple
```