pytorch版本适配
时间: 2023-09-27 14:05:43 浏览: 179
torch_spline_conv-1.2.2+pt20cu118-cp38-cp38-win_amd64.whl.zip
根据引用和引用的信息,你可以根据你的Python版本选择相应的PyTorch版本。如果你使用的是Python 3.7.0,那么可以选择PyTorch 1.8.0版本。根据引用的指令,你可以使用以下Anaconda指令安装适配的PyTorch版本:
```
# CUDA 10.2
conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=10.2 -c pytorch
# CUDA 11.1
conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch -c conda-forge
# CPU Only
conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cpuonly -c pytorch
```
以上指令提供了不同的选项,根据你的CUDA版本和需要的功能选择相应的指令。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [PyTorch深度学习(13)PyTorch Torch Vision python 版本对应](https://blog.csdn.net/jiangyangll/article/details/121047633)[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^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [在Anaconda下安装并使用Pytorch,pillow,numpy等库及Python版本的匹配](https://blog.csdn.net/KarvinDish/article/details/130737397)[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^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文