Skip to content

Commit bd18658

Browse files
author
Svetlana Karslioglu
authored
Merge pull request pytorch#1138 from pytorch/svekars-patch-3
Update previous-versions.md
2 parents cc09d32 + 3a0af7d commit bd18658

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
38+
# CUDA 11.6
39+
conda install pytorch==1.12.0 torchvision==0.13.0 torchaudio==0.12.0 cudatoolkit=11.6 -c pytorch -c conda-forge
40+
# CPU Only
41+
conda install pytorch==1.12.0 torchvision==0.13.0 torchaudio==0.12.0 cpuonly -c pytorch
42+
```
43+
44+
#### Wheel
45+
46+
##### OSX
47+
48+
```
49+
pip install torch==1.12.0 torchvision==0.13.0 torchaudio==0.12.0
50+
```
51+
52+
##### Linux and Windows
53+
54+
```
55+
# ROCM 5.1.1 (Linux only)
56+
pip install torch==1.12.0+rocm5.1.1 torchvision==0.13.0+rocm5.1.1 torchaudio==0.12.0 -f https://download.pytorch.org/whl/torch_stable.html
57+
# CUDA 11.6
58+
pip install torch==1.12.0+cu116 torchvision==0.13.0+cu116 torchaudio==0.12.0 -f https://download.pytorch.org/whl/torch_stable.html
59+
# CUDA 11.3
60+
pip install torch==1.12.0+cu113 torchvision==0.13.0+cu113 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)