用户 LifeIsArtOfWar 补充了下载链接: Links for torch ,可以通过文件名查是否存在对应版本。

pytorch 与 torchvision 的对应关系 可以不用考虑,pytorch 官网安装命令的 pytorch 与 torchvision 几乎是一对一关系

pytorch 和 cudatoolkit 对应版本

cuda 和 cudatoolkit 版本版本命名相同 (1表示官网有安装命令,空未知)

cudatoolkittorch 1.5torch 1.6torch 1.7torch 1.8torch 1.9torch 1.10torch 1.11
9.2111
10.11111
10.21111111
11.01
11.1111
11.31111
cudatoolkit9.210.110.211.011.111.3
torch 1.5111
torch 1.6111
torch 1.71111
torch 1.81111
torch 1.9111
torch 1.10111
torch 1.1111

pytorch 和 python 对应版本

发现python与torch随意组合会出问题 (1则可行,0出过问题且未尝试解决,空未知)

python3.63.73.83.93.10
torch 1.51
torch 1.611
torch 1.7111
torch 1.811
torch 1.901
torch 1.1010
torch 1.1111
torch 1.1211

pytorch 和 python 发布时间

python2 停更了

时间python3torch
2018-06-273.7
2019-10-143.8
2020-10-053.9
2020-10-281.7
2021-06-161.9
2021-10-043.10
2021-10-211.10
2022-03-111.11
2023-06-273.7 End
2024-103.8 End
2025-103.9 End
2026-103.10 End

pytorch15

conda create -n py36_torch15_cuda92 python=3.6
conda activate py36_torch15_cuda92
conda install pytorch==1.5.1 torchvision==0.6.1 cudatoolkit=9.2 -c pytorch

conda create -n py36_torch15_cuda101 python=3.6
conda activate py36_torch15_cuda101
conda install pytorch==1.5.1 torchvision==0.6.1 cudatoolkit=10.1 -c pytorch

conda create -n py36_torch15_cuda102 python=3.6
conda activate py36_torch15_cuda102
conda install pytorch==1.5.1 torchvision==0.6.1 cudatoolkit=10.2 -c pytorch

pytorch16

conda create -n py38_torch16_cuda92 python=3.8
conda activate py38_torch16_cuda92
conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=9.2 -c pytorch

conda create -n py38_torch16_cuda101 python=3.8
conda activate py38_torch16_cuda101
conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.1 -c pytorch

conda create -n py38_torch16_cuda102 python=3.8
conda activate py38_torch16_cuda102
conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.2 -c pytorch

pytorch17

conda create -n py38_torch17_cuda92 python=3.8
conda activate py38_torch17_cuda92
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=9.2 -c pytorch

conda create -n py38_torch17_cuda101 python=3.8
conda activate py38_torch17_cuda101
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.1 -c pytorch

conda create -n py38_torch17_cuda102 python=3.8
conda activate py38_torch17_cuda102
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.2 -c pytorch

conda create -n py38_torch17_cuda110 python=3.8
conda activate py38_torch17_cuda110
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=11.0 -c pytorch

pytorch18

conda create -n py39_torch18_cuda102 python=3.9
conda activate py39_torch18_cuda102
conda install pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 cudatoolkit=10.2 -c pytorch

conda create -n py39_torch18_cuda113 python=3.9
conda activate py39_torch18_cuda113
conda install pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 cudatoolkit=11.3 -c pytorch -c conda-forge

pytorch19

conda create -n py39_torch19_cuda102 python=3.9
conda activate py39_torch19_cuda102
conda install pytorch==1.9.1 torchvision==0.10.1 torchaudio==0.9.1 cudatoolkit=10.2 -c pytorch

conda create -n py39_torch19_cuda113 python=3.9
conda activate py39_torch19_cuda113
conda install pytorch==1.9.1 torchvision==0.10.1 torchaudio==0.9.1 cudatoolkit=11.3 -c pytorch -c conda-forge

pytorch110

conda create -n py39_torch110_cuda102 python=3.9
conda activate py39_torch110_cuda102
conda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=10.2 -c pytorch

conda create -n py39_torch110_cuda113 python=3.9
conda activate py39_torch110_cuda113
conda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=11.3 -c pytorch -c conda-forge
Logo

苏州本地的技术开发者社区,在这里可以交流本地的好吃好玩的,可以交流技术,可以交流招聘等等,没啥限制。

更多推荐