From 304eda3c7feaeb684b08a7f11fa5d989dd40f361 Mon Sep 17 00:00:00 2001 From: atalman Date: Thu, 22 Feb 2024 18:22:42 -0800 Subject: [PATCH] [Release 2.2.1] Update previous versions page for 2.2.0 release --- _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 5530a3367764..0de1392d0ad2 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.0 + +#### Conda + +##### OSX + +``` +# conda +conda install pytorch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 -c pytorch +``` + +##### Linux and Windows + +``` +# CUDA 11.8 +conda install pytorch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 pytorch-cuda=11.8 -c pytorch -c nvidia +# CUDA 12.1 +conda install pytorch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 pytorch-cuda=12.1 -c pytorch -c nvidia +# CPU Only +conda install pytorch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 cpuonly -c pytorch +``` + +#### Wheel + +##### OSX + +``` +pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 +``` + +##### Linux and Windows + +``` +# ROCM 5.6 (Linux only) +pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/rocm5.6 +# CUDA 11.8 +pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/cu118 +# CUDA 12.1 +pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/cu121 +# CPU only +pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/cpu +``` + ### v2.1.2 #### Conda