PyTorch、TorchVision、TorchAudio、TorchData、TorchText 和 Python 的版本对应关系 (兼容性)

发布时间:2026/10/19 0:16:48
PyTorch、TorchVision、TorchAudio、TorchData、TorchText 和 Python 的版本对应关系 (兼容性) 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

关于本文作者

来自尧图内容编辑团队

尧图内容编辑团队 内容团队

尧图内容编辑团队

本文由尧图网络内容编辑团队执笔。团队由资深项目经理、前端工程师与设计师组成,所有内容均来自亲手交付的真实项目,先讲清问题、再给出可落地的解法。尧图深耕北京网站建设十年,服务过京华建材集团、智造科技等各行业客户,把一线经验沉淀为可复用的行业观察。

  • 十年建站经验,覆盖建材、制造、服务、文创等
  • 项目经理把关选题与事实准确性
  • 工程师与设计师联合撰写专业细节
  • 统一编辑规范,保证文风与排版一致
  • 每月复盘转化数据,迭代选题方向

延伸阅读

相关资讯与近期热门内容

深度阅读推荐

建站决策前值得细读的三篇

网站改版的5个关键决策
2024-08-12

网站改版的5个关键决策

什么时候该改版、改到什么程度、如何避免流量掉光,京华建材集团改版复盘给出答案。

获取专属建站方案

看完文章,把您的行业与预算告诉我们,免费获取一份量身定制的官网建设方案与报价。

立即免费咨询