cws
parent
c1551612f3
commit
8e74682902
@ -0,0 +1,11 @@
|
||||
# 首先卸载
|
||||
pip3 uninstall torch
|
||||
pip3 uninstall torchvision
|
||||
pip3 uninstall torchaudio
|
||||
|
||||
# 然后安装
|
||||
pip3 install torch==2.1.0+cu121 torchvision==0.16.0+cu121 torchaudio==2.1.0+cu121 -f https://download.pytorch.org/whl/cu121/torch_stable.html
|
||||
|
||||
|
||||
# 可临时清华源加速
|
||||
pip3 install torch==2.1.0+cu121 torchvision==0.16.0+cu121 torchaudio==2.1.0+cu121 -f https://download.pytorch.org/whl/cu121/torch_stable.html -i https://pypi.tuna.tsinghua.edu.cn/simple/
|
Loading…
Reference in New Issue