1
0
This commit is contained in:
2024-06-14 20:24:09 +08:00
parent 14a3489609
commit a3a6130254
2 changed files with 5241 additions and 4 deletions

View File

@@ -15,15 +15,18 @@ conda install pytorch::pytorch torchvision torchaudio -c pytorch -y
pip install -r requirements.txt pip install -r requirements.txt
``` ```
## MAC ## linux
```shell ```shell
# 安装 pytorch v1.12版本已经正式支持了用于mac m1芯片gpu加速的mps后端
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
pip install -r requirements.txt pip install -r requirements.txt
``` ```
## gpt4free ## Jupyter
```shell
# env
pip install jupyter
``` ```
pip install -U g4f[all] ```shell
jupyter notebook
``` ```

File diff suppressed because one or more lines are too long