当前位置:网站首页>[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 !
边栏推荐
- What has happened from server to cloud hosting?
- Fofa attack and defense challenge record
- Qt不同类之间建立信号槽,并传递参数
- Cause analysis and solution of too laggy page of [test interview questions]
- 基于微信小程序开发的我最在行的小游戏
- [OBS] the official configuration is use_ GPU_ Priority effect is true
- An error is reported during the process of setting up ADG. Rman-03009 ora-03113
- 语义分割模型库segmentation_models_pytorch的详细使用介绍
- Password recovery vulnerability of foreign public testing
- Langchao Yunxi distributed database tracing (II) -- source code analysis
猜你喜欢
FOFA-攻防挑战记录
Codeforces Round #804 (Div. 2)(A~D)
Interface test advanced interface script use - apipost (pre / post execution script)
“一个优秀程序员可抵五个普通程序员”,差距就在这7个关键点
SDNU_ACM_ICPC_2022_Summer_Practice(1~2)
浪潮云溪分布式数据库 Tracing(二)—— 源码解析
深潜Kotlin协程(二十二):Flow的处理
大数据开源项目,一站式全自动化全生命周期运维管家ChengYing(承影)走向何方?
Reentrantlock fair lock source code Chapter 0
Password recovery vulnerability of foreign public testing
随机推荐
【笔记】常见组合滤波电路
v-for遍历元素样式失效
Su embedded training - day4
手机上炒股安全么?
The weight of the product page of the second level classification is low. What if it is not included?
Basic mode of service mesh
深潜Kotlin协程(二十三 完结篇):SharedFlow 和 StateFlow
How to learn a new technology (programming language)
串口接收一包数据
Is it safe to open an account on the official website of Huatai Securities?
Service Mesh的基本模式
Cve-2022-28346: Django SQL injection vulnerability
51 communicates with the Bluetooth module, and 51 drives the Bluetooth app to light up
Where is the big data open source project, one-stop fully automated full life cycle operation and maintenance steward Chengying (background)?
What has happened from server to cloud hosting?
哪个券商公司开户佣金低又安全,又靠谱
Experience of autumn recruitment in 22 years
他们齐聚 2022 ECUG Con,只为「中国技术力量」
Application practice | the efficiency of the data warehouse system has been comprehensively improved! Data warehouse construction based on Apache Doris in Tongcheng digital Department
5g NR system messages