diff --git a/_get_started/previous-versions.md b/_get_started/previous-versions.md index 5af27c9d1d25..b04c75b5999f 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.2 + +#### Conda + +##### OSX + +``` +# conda +conda install pytorch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 -c pytorch +``` + +##### Linux and Windows + +``` +# CUDA 11.8 +conda install pytorch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 pytorch-cuda=11.8 -c pytorch -c nvidia +# CUDA 12.1 +conda install pytorch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 pytorch-cuda=12.1 -c pytorch -c nvidia +# CPU Only +conda install pytorch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 cpuonly -c pytorch +``` + +#### Wheel + +##### OSX + +``` +pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 +``` + +##### Linux and Windows + +``` +# ROCM 5.7 (Linux only) +pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/rocm5.7 +# CUDA 11.8 +pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/cu118 +# CUDA 12.1 +pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/cu121 +# CPU only +pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/cpu +``` + ### v2.2.1 #### Conda