当前位置:网站首页>[reprint] solve the problem that CONDA installs pytorch too slowly
[reprint] solve the problem that CONDA installs pytorch too slowly
2022-07-08 00:53:00 【UQI-LIUWJ】
In the use of conda Yes pytorch When installing , Because the download of the original image is too slow , Even termination , The following solutions can be adopted
1. Add Tsinghua garden image :
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes( This command means from channel Displays when installing packages in channel Of url, In this way, you can know the installation source of the package )
2. Start installation pytorch, The default is already in pytorch The official website has got the order that meets your installation requirements , for example :
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
Be careful : To install using the added image source , You need to put the last of the command -c pytorch Get rid of ;( Because this means downloading from the original image )
3. therefore , Direct execution :
conda install pytorch torchvision torchaudio cudatoolkit=10.2
4. Wait for the installation to complete !
边栏推荐
- Summary of the third course of weidongshan
- What is load balancing? How does DNS achieve load balancing?
- STL -- common function replication of string class
- Fofa attack and defense challenge record
- German prime minister says Ukraine will not receive "NATO style" security guarantee
- Kubernetes Static Pod (静态Pod)
- A brief history of information by James Gleick
- 【愚公系列】2022年7月 Go教学课程 006-自动推导类型和输入输出
- Deep dive kotlin synergy (XXII): flow treatment
- How can CSDN indent the first line of a paragraph by 2 characters?
猜你喜欢
DNS 系列(一):为什么更新了 DNS 记录不生效?
ReentrantLock 公平锁源码 第0篇
What if the testing process is not perfect and the development is not active?
3 years of experience, can't you get 20K for the interview and test post? Such a hole?
接口测试要测试什么?
Codeforces Round #804 (Div. 2)(A~D)
Single machine high concurrency model design
Interface test advanced interface script use - apipost (pre / post execution script)
搭建ADG过程中复制报错 RMAN-03009 ORA-03113
Installation and configuration of sublime Text3
随机推荐
Qt添加资源文件,为QAction添加图标,建立信号槽函数并实现
FOFA-攻防挑战记录
C # generics and performance comparison
服务器防御DDOS的方法,杭州高防IP段103.219.39.x
What is load balancing? How does DNS achieve load balancing?
Service mesh introduction, istio overview
国外众测之密码找回漏洞
RPA cloud computer, let RPA out of the box with unlimited computing power?
New library online | cnopendata China Star Hotel data
Cause analysis and solution of too laggy page of [test interview questions]
Qt不同类之间建立信号槽,并传递参数
牛客基础语法必刷100题之基本类型
QT adds resource files, adds icons for qaction, establishes signal slot functions, and implements
基于微信小程序开发的我最在行的小游戏
Prompt configure: error: required tool not found: libtool solution when configuring and installing crosstool ng tool
Jemter distributed
Play sonar
5G NR 系统消息
The standby database has been delayed. Check that the MRP is wait_ for_ Log, apply after restarting MRP_ Log but wait again later_ for_ log
An error is reported during the process of setting up ADG. Rman-03009 ora-03113