将豆瓣镜像添加到全局
pip config set global.index-url https://pypi.douban.com/simple
根据实际情况更改cuda版本
pip install torch torchvision torchaudio -f https://download.pytorch.org/whl/cu116/torch_stable.html
将豆瓣镜像添加到全局
pip config set global.index-url https://pypi.douban.com/simple
根据实际情况更改cuda版本
pip install torch torchvision torchaudio -f https://download.pytorch.org/whl/cu116/torch_stable.html