Skip to content

Commit c578787

Browse files
authored
Update previous-versions.md to include 2.4.1 (#1771)
1 parent 78334ce commit c578787

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

_get_started/previous-versions.md

+37
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,43 @@ your convenience.
1717

1818
## Commands for Versions >= 1.0.0
1919

20+
### v2.4.1
21+
#### Conda
22+
##### OSX
23+
```
24+
# conda
25+
conda install pytorch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 -c pytorch
26+
```
27+
##### Linux and Windows
28+
```
29+
# CUDA 11.8
30+
conda install pytorch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 pytorch-cuda=11.8 -c pytorch -c nvidia
31+
# CUDA 12.1
32+
conda install pytorch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 pytorch-cuda=12.1 -c pytorch -c nvidia
33+
# CUDA 12.4
34+
conda install pytorch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 pytorch-cuda=12.4 -c pytorch -c nvidia
35+
# CPU Only
36+
conda install pytorch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 cpuonly -c pytorch
37+
```
38+
#### Wheel
39+
##### OSX
40+
```
41+
pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1
42+
```
43+
##### Linux and Windows
44+
```
45+
# ROCM 6.1 (Linux only)
46+
pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/rocm6.1
47+
# CUDA 11.8
48+
pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/cu118
49+
# CUDA 12.1
50+
pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/cu121
51+
# CUDA 12.4
52+
pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/cu124
53+
# CPU only
54+
pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/cpu
55+
```
56+
2057
### v2.4.0
2158

2259
#### Conda

0 commit comments

Comments
 (0)