From f68b30d1b93a28249f32af288f51da505054b37d Mon Sep 17 00:00:00 2001 From: atalman Date: Wed, 4 Oct 2023 12:48:58 -0700 Subject: [PATCH] [Release 2.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 d5265aa4d2f2..53ee6210414d 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.0.1 + +#### Conda + +##### OSX + +``` +# conda +conda install pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 -c pytorch +``` + +##### Linux and Windows + +``` +# CUDA 11.7 +conda install pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 pytorch-cuda=11.7 -c pytorch -c nvidia +# CUDA 11.8 +conda install pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 pytorch-cuda=11.8 -c pytorch -c nvidia +# CPU Only +conda install pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 cpuonly -c pytorch +``` + +#### Wheel + +##### OSX + +``` +pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 +``` + +##### Linux and Windows + +``` +# ROCM 5.4.2 (Linux only) +pip install torch==2.0.1+rocm5.4.2 torchvision==0.15.2+rocm5.4.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/rocm5.4.2 +# CUDA 11.7 +pip install torch==2.0.1+cu117 torchvision==0.15.2+cu117 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu117 +# CUDA 11.8 +pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118 +# CPU only +pip install torch==2.0.1+cpu torchvision==0.15.2+cpu torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cpu +``` + ### v2.0.0 #### Conda