PyTorch Release 2.4.1 - Final RC is available

Final 2.4.1 RC for PyTorch core and Domain Libraries is available for download from pytorch-test channel.

Reminder of key dates:

  • 9/4 Release 2.4.1 General Availability

List of Issues included in the Patch Release 2.4.1 can be found here: 2.4.1 Milestone

Cherry-Picks included in the Patch Release 2.4.1 can be found here: [v2.4.1] Release Tracker

Following are instructions on how to download different versions of RC for testing.

CONDA CPU
Windows/Linux:
conda install pytorch=2.4.1 torchvision torchaudio cpuonly -c pytorch-test

MacOS:
conda install pytorch=2.4.1 torchvision torchaudio -c pytorch-test

CUDA
Windows/Linux:
conda install pytorch=2.4.1 torchvision torchaudio pytorch-cuda=11.8 -c pytorch-test -c nvidia
conda install pytorch=2.4.1 torchvision torchaudio pytorch-cuda=12.1 -c pytorch-test -c nvidia
conda install pytorch=2.4.1 torchvision torchaudio pytorch-cuda=12.4 -c pytorch-test -c nvidia

PIP CPU:
Windows/Linux/MacOS:
pip3 install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/test/cpu

PIP CUDA:
Windows/Linux:
pip3 install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/test/cu118

pip3 install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/test/cu121

pip3 install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/test/cu124

PIP ROCM 6.1:
pip3 install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/test/rocm6.1

PIP Linux Aarch64
pip3 install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/test/cpu

PIP Linux GPU Aarch64 (note only torch is available for GPU Aarch64 this release)
pip3 install torch==2.4.1 --index-url https://download.pytorch.org/whl/test/cu124

LibTorch:
CPU Linux:
(Pre-cxx11 ABI):
https://download.pytorch.org/libtorch/test/cpu/libtorch-shared-with-deps-2.4.1%2Bcpu.zip

(cxx11 ABI):
https://download.pytorch.org/libtorch/test/cpu/libtorch-cxx11-abi-shared-with-deps-2.4.1%2Bcpu.zip

CPU Windows:
Download here (Release version):
https://download.pytorch.org/libtorch/test/cpu/libtorch-win-shared-with-deps-2.4.1%2Bcpu.zip

Download here (Debug version):
https://download.pytorch.org/libtorch/test/cpu/libtorch-win-shared-with-deps-debug-2.4.1%2Bcpu.zip

CUDA 11.8, 12.1, 12.4 Linux

(Pre-cxx11 ABI):
https://download.pytorch.org/libtorch/test/cu118/libtorch-shared-with-deps-2.4.1%2Bcu118.zip
https://download.pytorch.org/libtorch/test/cu121/libtorch-shared-with-deps-2.4.1%2Bcu121.zip
https://download.pytorch.org/libtorch/test/cu124/libtorch-shared-with-deps-2.4.1%2Bcu124.zip

(cxx11 ABI):
https://download.pytorch.org/libtorch/test/cu118/libtorch-cxx11-abi-shared-with-deps-2.4.1%2Bcu118.zip
https://download.pytorch.org/libtorch/test/cu121/libtorch-cxx11-abi-shared-with-deps-2.4.1%2Bcu121.zip
https://download.pytorch.org/libtorch/test/cu124/libtorch-cxx11-abi-shared-with-deps-2.4.1%2Bcu124.zip

Windows CUDA 11.8, 12.1, 12.4

(Release version):
https://download.pytorch.org/libtorch/test/cu118/libtorch-win-shared-with-deps-2.4.1%2Bcu118.zip
https://download.pytorch.org/libtorch/test/cu121/libtorch-win-shared-with-deps-2.4.1%2Bcu121.zip
https://download.pytorch.org/libtorch/test/cu124/libtorch-win-shared-with-deps-2.4.1%2Bcu124.zip

(Debug version):
https://download.pytorch.org/libtorch/test/cu118/libtorch-win-shared-with-deps-debug-2.4.1%2Bcu118.zip
https://download.pytorch.org/libtorch/test/cu121/libtorch-win-shared-with-deps-debug-2.4.1%2Bcu121.zip
https://download.pytorch.org/libtorch/test/cu124/libtorch-win-shared-with-deps-debug-2.4.1%2Bcu124.zip

If you have any questions please comment below or reach out to us on this thread.

1 Like

are 2.4.1 and 2.4.0 ABI compatible? i.e. Will OOT backend compiled against 2.4 work with 2.4.1?

Hi @artyom-beilis yes it should be compatible. Goal of patch release is to fix critical issues only. You can refer to tracker: [v2.4.1] Release Tracker · Issue #132400 · pytorch/pytorch · GitHub for a list of cherry picks included in this 2.4.1 release and general patch release criteria.

1 Like

Is this true about patch releases in general? @atalman

hi @mfbalin Yes totally We have documentation about our Patch Release process and Criteria here: pytorch/RELEASE.md at main · pytorch/pytorch · GitHub