PyTorch 2.4 RC1 is produced for pytorch, audio, vision

They are now available for download from pytorch-test channel.

Reminder of key dates:

  • M3.3: Domain libraries cut RC Branch (6/13/24) - COMPLETED
  • M4: Release branch finalized, Announce final launch date, Feature classifications published (week of 7/1/24)
  • M5: External-Facing Content Finalized (7/19/24)
  • M6: Release Day (7/24/24)

CONDA CPU

Windows/Linux:
conda install pytorch=2.4.0 torchvision torchaudio cpuonly -c pytorch-test

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

CUDA 11.8, 12.1, 12.4

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

PIP CPU

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

PIP CUDA 11.8, 12.1, 12.4

Windows/Linux:
pip3 install torch==2.4.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu118
pip3 install torch==2.4.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu121
pip3 install torch==2.4.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu124

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

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

Libtorch

CPU Linux:

(Pre-cxx11 ABI):
https://download.pytorch.org/libtorch/test/cpu/libtorch-shared-with-deps-latest.zip

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

CPU Windows:

Download here (Release version):
https://download.pytorch.org/libtorch/test/cpu/libtorch-win-shared-with-deps-latest.zip

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

CPU MacOS:
https://download.pytorch.org/libtorch/test/cpu/libtorch-macos-latest.zip

CUDA 11.8, 12.1, 12.4 Linux

(Pre-cxx11 ABI):
https://download.pytorch.org/libtorch/test/cu118/libtorch-shared-with-deps-latest.zip
https://download.pytorch.org/libtorch/test/cu121/libtorch-shared-with-deps-latest.zip
https://download.pytorch.org/libtorch/test/cu124/libtorch-shared-with-deps-latest.zip

(cxx11 ABI):
https://download.pytorch.org/libtorch/test/cu118/libtorch-cxx11-abi-shared-with-deps-latest.zip
https://download.pytorch.org/libtorch/test/cu121/libtorch-cxx11-abi-shared-with-deps-latest.zip
https://download.pytorch.org/libtorch/test/cu124/libtorch-cxx11-abi-shared-with-deps-latest.zip

Windows CUDA 11.8, 12.1, 12.4

(Release version):
https://download.pytorch.org/libtorch/test/cu118/libtorch-win-shared-with-deps-latest.zip
https://download.pytorch.org/libtorch/test/cu121/libtorch-win-shared-with-deps-latest.zip
https://download.pytorch.org/libtorch/test/cu124/libtorch-win-shared-with-deps-latest.zip

(Debug version):
https://download.pytorch.org/libtorch/test/cu118/libtorch-win-shared-with-deps-debug-latest.zip
https://download.pytorch.org/libtorch/test/cu121/libtorch-win-shared-with-deps-debug-latest.zip
https://download.pytorch.org/libtorch/test/cu124/libtorch-win-shared-with-deps-debug-latest.zip

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