conda+清华园镜像安装指定版本的cudnn

conda本地安装Pytorch

##anaconda国内源
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
##用anaconda安装各种库的国内源
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64/
用anaconda安装pytorch的国内源
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64/

注意:用conda安装pytorch、或其它的包,必须需要装一个较cudatoolkit的库,在 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64/下可以找到。否则,conda安装的库会找不到cuda,报错XXX.so找不到。

用pip安装的不需要cudatoolkit。(见pytorch官网的安装指令)

  • 此外,还有cuda的国内镜像:
    https://mirrors.aliyun.com/nvidia-cuda/
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐