Skip to content

Commit 56a6530

Browse files
authored
Update previous-versions.md with 2.5.1 (#1906)
1 parent d101fc7 commit 56a6530

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

Diff for: _get_started/previous-versions.md

+49
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,55 @@ your convenience.
1717

1818
## Commands for Versions >= 1.0.0
1919

20+
### v2.5.1
21+
22+
#### Conda
23+
24+
##### OSX
25+
26+
```
27+
# conda
28+
conda install pytorch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 -c pytorch
29+
```
30+
31+
##### Linux and Windows
32+
33+
```
34+
# CUDA 11.8
35+
conda install pytorch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 pytorch-cuda=11.8 -c pytorch -c nvidia
36+
# CUDA 12.1
37+
conda install pytorch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 pytorch-cuda=12.1 -c pytorch -c nvidia
38+
# CUDA 12.4
39+
conda install pytorch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 pytorch-cuda=12.4 -c pytorch -c nvidia
40+
# CPU Only
41+
conda install pytorch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 cpuonly -c pytorch
42+
```
43+
44+
#### Wheel
45+
46+
##### OSX
47+
48+
```
49+
pip install torch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0
50+
```
51+
52+
##### Linux and Windows
53+
54+
```
55+
# ROCM 6.1 (Linux only)
56+
pip install torch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/rocm6.1
57+
# ROCM 6.2 (Linux only)
58+
pip install torch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/rocm6.2
59+
# CUDA 11.8
60+
pip install torch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cu118
61+
# CUDA 12.1
62+
pip install torch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cu121
63+
# CUDA 12.4
64+
pip install torch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cu124
65+
# CPU only
66+
pip install torch==2.5.1 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cpu
67+
```
68+
2069
### v2.5.0
2170

2271
#### Conda

0 commit comments

Comments
 (0)