Previous PyTorch Versions | PyTorch
Select preferences and run the command to install PyTorch locally, or get started quickly with one of the supported cloud platforms. We’d prefer you install the latest version, but old binaries and installation instructions are provided below for your convenience. macOS is currently not supported for LTS. macOS is currently not supported in LTS. This should be used for most previous macOS version installs. To install a previous version of PyTorch via Anaconda or Miniconda, replace “0.4.1” in the following commands with the desired version (i.e., “0.2.0”). Installing with CUDA 9 conda install pytorch=0.4.1 cuda90 -c pytorch or conda install pytorch=0.4.1 cuda92 -c pytorch Installing with CUDA 8 conda install pytorch=0.4.1 cuda80 -c pytorch Installing with CUDA 7.5 conda install pytorch=0.4.1 cuda75 -c pytorch Installing without CUDA conda install pytorch=0.4.1 -c pytorch It is possible to checkout an older version of PyTorch and build it. You can list tags in PyTorch git repository with
Installing previous versions of PyTorch We’d prefer you install the latest version , but old binaries and installation instructions are provided below for your convenience. Commands for Versions >= 1.0.0 v2.12.1 Wheel OSX pip install torch==2.12.1 torchvision==0.27.1 Linux and Windows # ROCM 7.2 (Linux only) pip install torch==2.12.1 torchvision==0.27.1 --index-url https://download.pytorch.org/whl/rocm7.2 # CUDA 12.6 pip install torch==2.12.1 torchvision==0.27.1 --index-url https://download.pytorch.org/whl/cu126 # CUDA 13.0 pip install torch==2.12.1 torchvision==0.27.1 --index-url https://down
Explore this link on the map →related reading
- Get Startedpytorch.org
- PyTorch (@PyTorch) / Xx.com
- PyTorch internals : ezyang's blogblog.ezyang.com
- How to check which cuda version my pytorch is using - PyTorch Forumsdiscuss.pytorch.org
- GitHub - LaurentMazare/ocaml-torch: OCaml bindings for PyTorch · GitHubgithub.com
- PiTorch: ML on Baremetal Raspberry Pis | projectsmasonjwang.com
- PyTorch, a year in…. – PyTorchpytorch.org
- Installation — Dive into Deep Learning 1.0.3 documentationd2l.ai
- the bug that taught me more about PyTorch than years of using it | Elana Simonelanapearl.github.io
- Setting up Python, numpy, and PyTorch natively on Apple M1 | Hendrik Erzhendrik-erz.de
- Learning PyTorch with Examples — PyTorch Tutorials 2.12.0+cu130 documentationpytorch.org
- <no title> — PyTorch Tutorials 2.13.0+cu130 documentationpytorch.org