Skip to content

Commit

Permalink
Update previous-versions.md with 2.5.1 (#1906)
Browse files Browse the repository at this point in the history
  • Loading branch information
kit1980 authored Jan 30, 2025
1 parent d101fc7 commit 56a6530
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions _get_started/previous-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 56a6530

Please sign in to comment.