Skip to content

Commit ceb8484

Browse files
authored
Merge branch 'site' into patch-1
2 parents ca47ad6 + 54324c6 commit ceb8484

File tree

1 file changed

+90
-2
lines changed

1 file changed

+90
-2
lines changed

_get_started/previous-versions.md

Lines changed: 90 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,94 @@ your convenience.
1717

1818
## Commands for Versions >= 1.0.0
1919

20+
### v1.13.1
21+
22+
#### Conda
23+
24+
##### OSX
25+
26+
```
27+
# conda
28+
conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 -c pytorch
29+
```
30+
31+
##### Linux and Windows
32+
33+
```
34+
# CUDA 11.6
35+
conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.6 -c pytorch -nvidia
36+
# CUDA 11.7
37+
conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -nvidia
38+
# CPU Only
39+
conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 cpuonly -c pytorch
40+
```
41+
42+
#### Wheel
43+
44+
##### OSX
45+
46+
```
47+
pip install torch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1
48+
```
49+
50+
##### Linux and Windows
51+
52+
```
53+
# ROCM 5.2 (Linux only)
54+
pip3 install torch torchvision torchaudio --extra-index-url
55+
pip install torch==1.13.1+rocm5.2 torchvision==0.14.1+rocm5.2 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/rocm5.2
56+
# CUDA 11.6
57+
pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116
58+
# CUDA 11.7
59+
pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu117
60+
# CPU only
61+
pip install torch==1.13.1+cpu torchvision==0.14.1+cpu torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cpu
62+
```
63+
64+
### v1.13.0
65+
66+
#### Conda
67+
68+
##### OSX
69+
70+
```
71+
# conda
72+
conda install pytorch==1.13.0 torchvision==0.14.0 torchaudio==0.13.0 -c pytorch
73+
```
74+
75+
##### Linux and Windows
76+
77+
```
78+
# CUDA 11.6
79+
conda install pytorch==1.13.0 torchvision==0.14.0 torchaudio==0.13.0 pytorch-cuda=11.6 -c pytorch -nvidia
80+
# CUDA 11.7
81+
conda install pytorch==1.13.0 torchvision==0.14.0 torchaudio==0.13.0 pytorch-cuda=11.7 -c pytorch -nvidia
82+
# CPU Only
83+
conda install pytorch==1.13.0 torchvision==0.14.0 torchaudio==0.13.0 cpuonly -c pytorch
84+
```
85+
86+
#### Wheel
87+
88+
##### OSX
89+
90+
```
91+
pip install torch==1.13.0 torchvision==0.14.0 torchaudio==0.13.0
92+
```
93+
94+
##### Linux and Windows
95+
96+
```
97+
# ROCM 5.2 (Linux only)
98+
pip3 install torch torchvision torchaudio --extra-index-url
99+
pip install torch==1.13.0+rocm5.2 torchvision==0.14.0+rocm5.2 torchaudio==0.13.0 --extra-index-url https://download.pytorch.org/whl/rocm5.2
100+
# CUDA 11.6
101+
pip install torch==1.13.0+cu116 torchvision==0.14.0+cu116 torchaudio==0.13.0 --extra-index-url https://download.pytorch.org/whl/cu116
102+
# CUDA 11.7
103+
pip install torch==1.13.0+cu117 torchvision==0.14.0+cu117 torchaudio==0.13.0 --extra-index-url https://download.pytorch.org/whl/cu117
104+
# CPU only
105+
pip install torch==1.13.0+cpu torchvision==0.14.0+cpu torchaudio==0.13.0 --extra-index-url https://download.pytorch.org/whl/cpu
106+
```
107+
20108
### v1.12.1
21109

22110
#### Conda
@@ -392,7 +480,7 @@ macOS is currently not supported for LTS.
392480
# NOTE: PyTorch LTS version 1.8.2 is only supported for Python <= 3.8.
393481
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch-lts
394482
395-
# CUDA 11.1 (Linux)
483+
# CUDA 11.1 (Linux)
396484
# NOTE: 'nvidia' channel is required for cudatoolkit 11.1 <br> <b>NOTE:</b> Pytorch LTS version 1.8.2 is only supported for Python <= 3.8.
397485
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch-lts -c nvidia
398486
@@ -411,7 +499,7 @@ Not supported in LTS.
411499

412500
#### Wheel
413501

414-
##### OSX
502+
##### OSX
415503

416504
macOS is currently not supported in LTS.
417505

0 commit comments

Comments
 (0)