torch、torchvision、cuda 、python对应版本匹配
torch | torchvision | cuda | python |
---|---|---|---|
1.8.0 | 0.8.2 | 10.2,11.0 | >=3.6 |
1.7.1 | 0.8.2 | 9.2 ,10.1 ,10.2 ,11.0 | >=3.6 |
1.7.0 | 0.8.1 | 9.2 ,10.1, 10.2 ,11.0 | >=3.6 |
1.7.0 | 0.8.0 | 9.2 ,10.1 ,10.2 ,11.0 | >=3.6 |
1.6.0 | 0.7.0 | 9.2, 10.1 ,10.2 | >=3.6 |
1.5.1 | 0.6.1 | 9.2, 10.1 ,10.2 | >=3.5 |
1.5.0 | 0.6.0 | 9.2 ,10.1, 10.2 | >=3.5 |
1.4.0 | 0.5.0 | 9.2, 10.1 | ==2.7, >=3.5, <=3.8 |
1.3.1 | 0.4.2 | 9.2 ,10.1 | ==2.7, >=3.5, <=3.7 |
1.3.0 | 0.4.1 | 9.2 ,10.1 | ==2.7, >=3.5, <=3.7 |
1.2.0 | 0.4.0 | 9.2 ,10.0 | ==2.7, >=3.5, <=3.7 |
1.1.0 | 0.3.0 | 9.0, 10.0 | ==2.7, >=3.5, <=3.7 |
1.0.1 | 0.2.2 | 9.0 ,10.0 | ==2.7, >=3.5, <=3.7 |
1.0.0 | 0.2.2 | 8.0 ,9.0 ,10.0 | ==2.7, >=3.5, <=3.7 |
0.4.1 | 0.2.2 | 8.0 ,9.0 ,10.0 | ==2.7, >=3.5, <=3.7 |
pip install torch == 1.3.0 torchvision ==0.4.1 默认相应cuda最高版本10.1
参考:https://pytorch.org/get-started/previous-versions/