From 472f4272449d1ee1f60bd6b2560585cffdf85dee Mon Sep 17 00:00:00 2001 From: atalman Date: Mon, 18 Dec 2023 07:07:11 -0800 Subject: [PATCH] [Release 2.1.1] Update previous versions page --- _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 f9cf184111cb..193abe9aab1f 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.1.1 + +#### Conda + +##### OSX + +``` +# conda +conda install pytorch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 -c pytorch +``` + +##### Linux and Windows + +``` +# CUDA 11.8 +conda install pytorch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 pytorch-cuda=11.8 -c pytorch -c nvidia +# CUDA 12.1 +conda install pytorch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 pytorch-cuda=12.1 -c pytorch -c nvidia +# CPU Only +conda install pytorch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 cpuonly -c pytorch +``` + +#### Wheel + +##### OSX + +``` +pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 +``` + +##### Linux and Windows + +``` +# ROCM 5.6 (Linux only) +pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/rocm5.6 +# CUDA 11.8 +pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cu118 +# CUDA 12.1 +pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cu121 +# CPU only +pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cpu +``` + ### v2.1.0 #### Conda