国内源安装pytorch
时间: 2023-08-25 11:10:07 浏览: 121
国内安装PyTorch可以使用清华大学开源镜像站提供的源。首先,打开浏览器并访问清华大学开源镜像站的PyTorch页面。选择适合你系统的版本,并复制该页面上提供的新地址。然后,将`-c pytorch`更改为`-c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64/`。最后,运行以下命令来安装PyTorch:`conda install pytorch torchvision torchaudio cudatoolkit=11.0 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64/`。这样就可以使用国内源安装PyTorch了。\[3\]
#### 引用[.reference_title]
- *1* [使用国内镜像源安装pytorch](https://blog.csdn.net/u013701860/article/details/104128743)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [pytorch安装-国内镜像源](https://blog.csdn.net/gg864461719/article/details/112259806)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文