Skip to content

Commit 8f3dd18

Browse files
author
Svetlana Karslioglu
authored
Update previous-versions.md
1 parent cc09d32 commit 8f3dd18

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

_get_started/previous-versions.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,53 @@ your convenience.
1717

1818
## Commands for Versions >= 1.0.0
1919

20+
### v1.12.0
21+
22+
#### Conda
23+
24+
##### OSX
25+
26+
```
27+
# conda
28+
conda install pytorch==1.12.0 torchvision==0.13.0 torchaudio==0.12.0 -c pytorch
29+
```
30+
31+
##### Linux and Windows
32+
33+
```
34+
# CUDA 10.2
35+
conda install pytorch==1.12.0 torchvision==0.13.0 torchaudio==0.12.0 cudatoolkit=10.2 -c pytorch
36+
# CUDA 11.3
37+
conda install pytorch==1.12.0 torchvision==0.13.0 torchaudio==0.12.0 cudatoolkit=11.3 -c pytorch -c conda-forge
38+
# CPU Only
39+
conda install pytorch==1.12.0 torchvision==0.13.0 torchaudio==0.12.0 cpuonly -c pytorch
40+
```
41+
42+
#### Wheel
43+
44+
##### OSX
45+
46+
```
47+
pip install torch==1.12.0 torchvision==0.13.0 torchaudio==0.12.0
48+
```
49+
50+
##### Linux and Windows
51+
52+
```
53+
# ROCM 4.2 (Linux only)
54+
pip install torch==1.12.0+rocm4.2 torchvision==0.13.0+rocm4.2 torchaudio==0.12.0 -f https://download.pytorch.org/whl/torch_stable.html
55+
# ROCM 4.1 (Linux only)
56+
pip install torch==1.12.0+rocm4.1 torchvision==0.13.0+rocm4.1 torchaudio==0.12.0 -f https://download.pytorch.org/whl/torch_stable.html
57+
# ROCM 4.0.1 (Linux only)
58+
pip install torch==1.12.0+rocm4.0.1 torchvision==0.13.0+rocm4.0.1 torchaudio==0.12.0 -f https://download.pytorch.org/whl/torch_stable.html
59+
# CUDA 11.1
60+
pip install torch==1.12.0+cu111 torchvision==0.13.0+cu111 torchaudio==0.12.0 -f https://download.pytorch.org/whl/torch_stable.html
61+
# CUDA 10.2
62+
pip install torch==1.12.0+cu102 torchvision==0.13.0+cu102 torchaudio==0.12.0 -f https://download.pytorch.org/whl/torch_stable.html
63+
# CPU only
64+
pip install torch==1.12.0+cpu torchvision==0.13.0+cpu torchaudio==0.12.0 -f https://download.pytorch.org/whl/torch_stable.html
65+
```
66+
2067
### v1.11.0
2168

2269
#### Conda

0 commit comments

Comments
 (0)