当前位置:   article > 正文

【torch与torchvision的对应关系】torchvision自动安装解决方案_torchvison对于torch版本的依赖

torchvison对于torch版本的依赖
torchtorchvision对应关系,来源:官方Repo: vision
torchtorchvisionpython
main / nightlymain / nightly>=3.8, <=3.11
2.20.17>=3.8, <=3.11
2.10.16>=3.8, <=3.11
2.0.00.15.1>=3.8, <=3.11
1.13.10.14.1>=3.7.2, <=3.10
1.13.00.14.0>=3.7.2, <=3.10
1.12.10.13.1>=3.7, <=3.10
1.12.00.13.0>=3.7, <=3.10
1.11.00.12.3>=3.7, <=3.10
1.10.20.11.3>=3.6, <=3.9
1.10.10.11.2>=3.6, <=3.9
1.10.00.11.1>=3.6, <=3.9
1.9.10.10.1>=3.6, <=3.9
1.9.00.10.0>=3.6, <=3.9
1.8.20.9.2>=3.6, <=3.9
1.8.10.9.1>=3.6, <=3.9
1.8.00.9.0>=3.6, <=3.9
1.7.10.8.2>=3.6, <=3.9
1.7.00.8.1>=3.6, <=3.8
1.7.00.8.0>=3.6, <=3.8
1.6.00.7.0>=3.6, <=3.8
1.5.10.6.1>=3.5, <=3.8
1.5.00.6.0>=3.5, <=3.8
1.4.00.5.0==2.7, >=3.5, <=3.8
1.3.10.4.2==2.7, >=3.5, <=3.7
1.3.00.4.1==2.7, >=3.5, <=3.7
1.2.00.4.0==2.7, >=3.5, <=3.7
1.1.00.3.0==2.7, >=3.5, <=3.7
<=1.0.10.2.2==2.7, >=3.5, <=3.7
torchtorchaudio对应关系,来源:官方Repo: audio
torchtorchaudiopython
main / nightlymain / nightly>=3.8, <=3.10
2.1.02.1.0>=3.8, <=3.11
2.0.12.0.2>=3.8, <=3.11
2.0.02.0.1>=3.8, <=3.11
1.13.10.13.1>=3.7, <=3.10
1.13.00.13.0>=3.7, <=3.10
1.12.10.12.1>=3.7, <=3.10
1.12.00.12.0>=3.7, <=3.10
1.11.00.11.0>=3.7, <=3.9
1.10.10.10.1>=3.6, <=3.9
1.10.00.10.0>=3.6, <=3.9
1.9.10.9.1>=3.6, <=3.9
1.9.00.9.0>=3.6, <=3.9
1.8.20.8.2>=3.6, <=3.9
1.8.10.8.1>=3.6, <=3.9
1.8.00.8.0>=3.6, <=3.9
1.7.10.7.2>=3.6, <=3.9
1.7.00.7.0>=3.6, <=3.8
1.6.00.6.0>=3.6, <=3.8
1.5.00.5.0>=3.5, <=3.8
1.4.00.4.0==2.7, >=3.5, <=3.8
torchtorchtext对应关系,来源:官方Repo: text
PyTorch versiontorchtext versionSupported Python version
nightly buildmain>=3.8, <=3.11
2.2.00.17.0>=3.8, <=3.11
2.1.00.16.0>=3.8, <=3.11
2.0.10.15.2>=3.8, <=3.11
2.0.00.15.0>=3.8, <=3.11
1.13.10.14.1>=3.7, <=3.10
1.13.00.14.0>=3.7, <=3.10
1.12.00.13.0>=3.7, <=3.10
1.11.00.12.0>=3.6, <=3.9
1.10.00.11.0>=3.6, <=3.9
1.10.00.11.0>=3.6, <=3.9
1.9.10.10.1>=3.6, <=3.9
1.90.10>=3.6, <=3.9
1.8.10.9.1>=3.6, <=3.9
1.80.9>=3.6, <=3.9
1.7.10.8.1>=3.6, <=3.9
1.70.8>=3.6, <=3.8
1.60.7>=3.6, <=3.8
1.50.6>=3.5, <=3.8
1.40.52.7, >=3.5, <=3.8
0.4 and below0.2.32.7, >=3.5, <=3.8
Tips
  • 当已经装好torch包时,pip install torchvision torchaudio会自动寻找对应的版本安装。(Windows linux已验证有效) Google Colab在线测试
  • 可以参考这里来看版本依赖
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/328429
推荐阅读
相关标签
  

闽ICP备14008679号