Sourced from torch's releases.
PyTorch 2.6.0 Release
- Highlights
- Tracked Regressions
- Backwards Incompatible Change
- Deprecations
- New Features
- Improvements
- Bug fixes
- Performance
- Documentation
- Developers
Highlights
We are excited to announce the release of PyTorch® 2.6 (release notes)! This release features multiple improvements for PT2:
torch.compile
can now be used with Python 3.13; new performance-related knobtorch.compiler.set_stance
; several AOTInductor enhancements. Besides the PT2 improvements, another highlight is FP16 support on X86 CPUs.NOTE: Starting with this release we are not going to publish on Conda, please see [Announcement] Deprecating PyTorch’s official Anaconda channel for the details.
For this release the experimental Linux binaries shipped with CUDA 12.6.3 (as well as Linux Aarch64, Linux ROCm 6.2.4, and Linux XPU binaries) are built with CXX11_ABI=1 and are using the Manylinux 2.28 build platform. If you build PyTorch extensions with custom C++ or CUDA extensions, please update these builds to use CXX_ABI=1 as well and report any issues you are seeing. For the next PyTorch 2.7 release we plan to switch all Linux builds to Manylinux 2.28 and CXX11_ABI=1, please see [RFC] PyTorch next wheel build platform: manylinux-2.28 for the details and discussion.
Also in this release as an important security improvement measure we have changed the default value for
weights_only
parameter oftorch.load
. This is a backward compatibility-breaking change, please see this forum post for more details.This release is composed of 3892 commits from 520 contributors since PyTorch 2.5. We want to sincerely thank our dedicated community for your contributions. As always, we encourage you to try these out and report any issues as we improve PyTorch. More information about how to get started with the PyTorch 2-series can be found at our Getting Started page.
... (truncated)
1eba9b3
change the test wheel to release wheel when release wheel available (#145884)2236df1
[CUDA] Change slim-wheel libraries load order (#145662)3207040
[CD] Fix slim-wheel cuda_nvrtc import problem (#145614)ca3c3a6
[Release-Only] Remove ptx from Linux CUDA 12.6 binary builds (#145616)7be6b5d
Fix IdentationError of code example (#145525)dcb8ad0
update get start xpu (#145286)8d4b8a9
Prevent legacy_load when weights_only=True (correctly) (#145111)9c34a20
Revert "Prevent _legacy_load with weights_only=True (#144993)"cd15d7b
Prevent _legacy_load with weights_only=True (#144993)a2639bc
[Release/2.6] Enable python-3.13t aarch64 builds (#144878)