Pytorch 版本对应关系表

[TOC]

Offical Web: https://pytorch.org/get-started/locally/

torch and torchaudio 版本对应表

https://wenku.baidu.com/view/99163a4cac1ffc4ffe4733687e21af45b307fe04.html

image-20220413100221920

Torch : TorchVision 版本

torch torchvision python cuda
1.11.??
1.10.2 0.11.3 >=3.7 <=3.9
1.10.1 0.11.2 >=3.6 <=3.9 111
1.10.0 0.11.1 >=3.6 <=3.9
1.9.1 0.10.1 >=3.6 <=3.9
1.9.0 0.10.0 >=3.6 <=3.9
1.8.2 0.9.2 >=3.6 <=3.9
1.8.1 0.9.1 >=3.6 <=3.9
1.8.0 0.9.0 >=3.6 <=3.9
1.7.1 0.8.1 >=3.6 <=3.9 9.2
1.7.0 0.8.0 >=3.6 <=3.8
1.6.0 0.7.0 >=3.6 <=3.8
1.5.1 0.6.1 >=3.6 <=3.8 9.2, 10.1,10.2
1.5.0 0.6.0 >=3.6 <=3.8 9.2, 10.1,10.2
1.4.0 0.5.0 ==2.7, >=3.5, <=3.8 9.2, 10.0
1.3.1 0.4.2 ==2.7, >=3.5, <=3.7 9.2, 10.0
1.3.0 0.4.1 ==2.7, >=3.5, <=3.7 9.2, 10.0
1.2.0 0.4.0 ==2.7, >=3.5, <=3.7 9.2, 10.0
1.1.0 0.3.0 ==2.7, >=3.5, <=3.7 9.0, 10.0
<1.0.1 0.2.2 ==2.7, >=3.5, <=3.7 9.0, 10.0

安装命令:

1
2
3
4
# CUDA 10.0
conda install pytorch==1.4.0 torchvision==0.5.0 cudatoolkit=10.0 -c pytorch
# CUDA 10.1
conda install pytorch==1.4.0 torchvision==0.5.0 cudatoolkit=10.1 -c pytorch

下载地址

​ 最大torch-1.4.0 cu100