首先要默认你在服务器已经安装好了anaconda或者miniconda
然后添加中科大镜像源:
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
添加镜像之后,直接利用中科大源进行pip下载(好像默认是最新版本?):
pip3 install torch torchvision torchaudio -i https://pypi.mirrors.ustc.edu.cn/simple/