Select your compute platform and configuration to get the installation command. These platforms provide alternative hardware acceleration options beyond NVIDIA CUDA.

PyTorch Build
Your OS
Package
Language
Compute Platform
Run this Command:
PyTorch Build
Stable (2.11.0)
Preview (Nightly)
Your OS
Linux
Windows
Package
Pip
LibTorch
Source
Language
Python
C++/Java
Compute Platform
Run this Command:
Select a compute platform to see the installation command.