)
PyTorch、TorchVision、TorchAudio、TorchData、TorchText 和 Python 的版本对应关系 {兼容性}1. PyTorch (torch)、TorchVision (torchvision) 和 Python 的版本对应关系 (兼容性)2. PyTorch (torch)、TorchAudio (torchaudio) 和 Python 的版本对应关系 (兼容性)3. PyTorch (torch)、TorchData (torchdata) 和 Python 的版本对应关系 (兼容性)4. PyTorch (torch)、TorchText (torchtext) 和 Python 的版本对应关系 (兼容性)ReferencesInstalling previous versions of PyTorchhttps://pytorch.org/get-started/previous-versions/1.PyTorch (torch)、TorchVision (torchvision)和 Python 的版本对应关系 (兼容性)torchvisionhttps://pypi.org/project/torchvision/https://github.com/pytorch/visionThe following is the correspondingtorchvisionversions and supported Python versions.PyTorch (torch)TorchVision (torchvision)Pythonmain/nightlymain/nightly3.10,3.142.130.283.10,3.142.120.273.10,3.142.110.263.10,3.142.100.253.10,3.142.90.243.10,3.142.80.233.9,3.132.70.223.9,3.132.60.213.9,3.122.50.203.9,3.122.40.193.8,3.122.30.183.8,3.122.20.173.8,3.112.10.163.8,3.112.00.153.8,3.111.130.143.7.2,3.101.120.133.7,3.101.110.123.7,3.101.100.113.6,3.91.90.103.6,3.91.80.93.6,3.91.70.83.6,3.91.60.73.6,3.81.50.63.5,3.81.40.52.7,3.5,3.81.30.4.2/0.4.32.7,3.5,3.71.20.4.12.7,3.5,3.71.10.32.7,3.5,3.71.00.22.7,3.5,3.72.PyTorch (torch)、TorchAudio (torchaudio)和 Python 的版本对应关系 (兼容性)Compatibility Matrixhttps://docs.pytorch.org/audio/main/installation.htmlhttps://github.com/pytorch/audioThe official binary distributions of TorchAudio contain extension modules which are written in C and linked against specific versions of PyTorch.TorchAudio 的官方二进制发行版包含用 C 编写的扩展模块这些模块链接到特定版本的 PyTorch。TorchAudio and PyTorch from different releases cannot be used together. Please refer to the following table for the matching versions.不同版本的 TorchAudio 和 PyTorch 不能同时使用。请参考下表查看匹配的版本。PyTorch (torch)TorchAudio (torchaudio)Python2.11and above2.11.03.10,3.142.102.10.03.10,3.142.9.12.9.13.10,3.142.92.9.03.10,3.142.82.8.03.9,3.132.7.12.7.13.9,3.132.72.7.03.9,3.132.62.6.03.9,3.132.52.5.03.8,3.112.4.12.4.13.8,3.112.42.4.03.8,3.112.3.12.3.13.8,3.112.3.02.3.03.8,3.112.2.22.2.23.8,3.112.2.12.2.13.8,3.112.22.2.03.8,3.112.1.22.1.23.8,3.112.1.12.1.13.8,3.112.1.02.1.03.8,3.112.0.12.0.23.8,3.112.0.02.0.13.8,3.111.13.10.13.13.7,3.101.13.00.13.03.7,3.101.12.10.12.13.7,3.101.12.00.12.03.7,3.101.11.00.11.03.7,3.91.10.00.10.03.6,3.91.9.10.9.13.6,3.91.8.10.8.13.6,3.91.7.10.7.23.6,3.91.7.00.7.03.6,3.81.6.00.6.03.6,3.81.5.00.5.03.5,3.81.4.00.4.02.7,3.5,3.83.PyTorch (torch)、TorchData (torchdata)和 Python 的版本对应关系 (兼容性)Version Compatibilityhttps://github.com/meta-pytorch/dataThe following is the correspondingtorchdataversions and supported Python versions.PyTorch (torch)TorchData (torchdata)Pythonmaster/nightlymain/nightly3.9,3.132.6.00.11.03.9,3.132.5.00.10.03.9,3.122.5.00.9.03.9,3.122.4.00.8.03.8,3.122.0.00.6.03.8,3.111.13.10.5.13.7,3.101.12.10.4.13.7,3.101.12.00.4.03.7,3.101.11.00.3.03.7,3.104.PyTorch (torch)、TorchText (torchtext)和 Python 的版本对应关系 (兼容性)Version Compatibilityhttps://github.com/pytorch/textThe following are the corresponding torchtext versions and supported Python versions.PyTorch (torch)TorchText (torchtext)Pythonnightly buildmain3.8, 3.112.3.00.18.03.8, 3.112.2.00.17.03.8, 3.112.1.00.16.03.8, 3.112.0.00.15.03.8, 3.111.13.00.14.03.7, 3.101.12.00.13.03.7, 3.101.11.00.12.03.6, 3.91.10.00.11.03.6, 3.91.9.10.10.13.6, 3.91.90.103.6, 3.91.8.10.9.13.6, 3.91.80.93.6, 3.91.7.10.8.13.6, 3.91.70.83.6, 3.81.60.73.6, 3.81.50.63.5, 3.81.40.52.7, 3.5, 3.80.4 and below0.2.32.7, 3.5, 3.8References[1] Yongqiang Cheng (程永强), https://yongqiang.blog.csdn.net/[2] TorchVision (torchvision), https://github.com/pytorch/vision[3] TorchAudio (torchaudio), https://github.com/pytorch/audio[4] TorchData (torchdata), https://github.com/meta-pytorch/data[5] TorchText (torchtext), https://github.com/pytorch/text[6] PyTorch、TorchVision、TorchAudio、TorchData、TorchText 和 Python 的版本对应关系 (兼容性), https://mp.weixin.qq.com/s/d60Agr_7D1DQfWUGHkndnw