Linux conda安装pytorch速度慢

Linux conda安装pytorch速度慢

1. 添加源

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --add channels https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/free/

2. 安装

进官网选择合适版本:https://pytorch.org/get-started/locally/

复制命令,将最后的-c pytorch去掉,如:

conda install pytorch torchvision cudatoolkit=10.0 
posted @ 2020-08-20 17:01  lzping  阅读(1821)  评论(0编辑  收藏  举报