1
0
This commit is contained in:
2024-06-03 13:00:25 +08:00
parent 2d1957b8c7
commit 14a3489609
4 changed files with 13 additions and 8 deletions

View File

@@ -12,7 +12,15 @@ conda activate pt
# 安装 pytorch v1.12版本已经正式支持了用于mac m1芯片gpu加速的mps后端
conda install pytorch::pytorch torchvision torchaudio -c pytorch -y
pip install -r requirements
pip install -r requirements.txt
```
## MAC
```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
```
## gpt4free