From 105fd232e8ad0dd96afc3ff7575ae9e885023888 Mon Sep 17 00:00:00 2001 From: Huy Do Date: Thu, 28 Mar 2024 14:44:09 -0700 Subject: [PATCH] Add 2.2.1 as the previous version --- _get_started/previous-versions.md | 43 +++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/_get_started/previous-versions.md b/_get_started/previous-versions.md index 0de1392d0ad2..5af27c9d1d25 100644 --- a/_get_started/previous-versions.md +++ b/_get_started/previous-versions.md @@ -17,6 +17,49 @@ your convenience. ## Commands for Versions >= 1.0.0 +### v2.2.1 + +#### Conda + +##### OSX + +``` +# conda +conda install pytorch==2.2.1 torchvision==0.17.1 torchaudio==2.2.1 -c pytorch +``` + +##### Linux and Windows + +``` +# CUDA 11.8 +conda install pytorch==2.2.1 torchvision==0.17.1 torchaudio==2.2.1 pytorch-cuda=11.8 -c pytorch -c nvidia +# CUDA 12.1 +conda install pytorch==2.2.1 torchvision==0.17.1 torchaudio==2.2.1 pytorch-cuda=12.1 -c pytorch -c nvidia +# CPU Only +conda install pytorch==2.2.1 torchvision==0.17.1 torchaudio==2.2.1 cpuonly -c pytorch +``` + +#### Wheel + +##### OSX + +``` +pip install torch==2.2.1 torchvision==0.17.1 torchaudio==2.2.1 +``` + +##### Linux and Windows + +``` +# ROCM 5.7 (Linux only) +pip install torch==2.2.1 torchvision==0.17.1 torchaudio==2.2.1 --index-url https://download.pytorch.org/whl/rocm5.7 +# CUDA 11.8 +pip install torch==2.2.1 torchvision==0.17.1 torchaudio==2.2.1 --index-url https://download.pytorch.org/whl/cu118 +# CUDA 12.1 +pip install torch==2.2.1 torchvision==0.17.1 torchaudio==2.2.1 --index-url https://download.pytorch.org/whl/cu121 +# CPU only +pip install torch==2.2.1 torchvision==0.17.1 torchaudio==2.2.1 --index-url https://download.pytorch.org/whl/cpu +``` + ### v2.2.0 #### Conda