From 56a6530ca029ce573060f77ceb12c35295624b92 Mon Sep 17 00:00:00 2001 From: Sergii Dymchenko Date: Wed, 29 Jan 2025 17:41:07 -0800 Subject: [PATCH] Update previous-versions.md with 2.5.1 (#1906) --- _get_started/previous-versions.md | 49 +++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/_get_started/previous-versions.md b/_get_started/previous-versions.md index d47db4add549..5f0f4a431253 100644 --- a/_get_started/previous-versions.md +++ b/_get_started/previous-versions.md @@ -17,6 +17,55 @@ your convenience. ## Commands for Versions >= 1.0.0 +### v2.5.1 + +#### Conda + +##### OSX + +``` +# conda +conda install pytorch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 -c pytorch +``` + +##### Linux and Windows + +``` +# CUDA 11.8 +conda install pytorch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 pytorch-cuda=11.8 -c pytorch -c nvidia +# CUDA 12.1 +conda install pytorch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 pytorch-cuda=12.1 -c pytorch -c nvidia +# CUDA 12.4 +conda install pytorch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 pytorch-cuda=12.4 -c pytorch -c nvidia +# CPU Only +conda install pytorch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 cpuonly -c pytorch +``` + +#### Wheel + +##### OSX + +``` +pip install torch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 +``` + +##### Linux and Windows + +``` +# ROCM 6.1 (Linux only) +pip install torch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/rocm6.1 +# ROCM 6.2 (Linux only) +pip install torch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/rocm6.2 +# CUDA 11.8 +pip install torch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cu118 +# CUDA 12.1 +pip install torch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cu121 +# CUDA 12.4 +pip install torch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cu124 +# CPU only +pip install torch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cpu +``` + ### v2.5.0 #### Conda