diff --git a/_get_started/previous-versions.md b/_get_started/previous-versions.md index b04c75b5999f..ed2f85389c64 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.3.0 + +#### Conda + +##### OSX + +``` +# conda +conda install pytorch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 -c pytorch +``` + +##### Linux and Windows + +``` +# CUDA 11.8 +conda install pytorch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 pytorch-cuda=11.8 -c pytorch -c nvidia +# CUDA 12.1 +conda install pytorch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 pytorch-cuda=12.1 -c pytorch -c nvidia +# CPU Only +conda install pytorch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 cpuonly -c pytorch +``` + +#### Wheel + +##### OSX + +``` +pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 +``` + +##### Linux and Windows + +``` +# ROCM 6.0 (Linux only) +pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/rocm6.0 +# CUDA 11.8 +pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu118 +# CUDA 12.1 +pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu121 +# CPU only +pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cpu +``` + ### v2.2.2 #### Conda