Skip to content

Commit 0786acf

Browse files
committed
Add torch-1.7.1 to previous versions
1 parent ea6ac82 commit 0786acf

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

_get_started/previous-versions.md

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

1818
## Commands for Versions >= 1.0.0
1919

20+
### v1.7.1
21+
22+
#### Conda
23+
24+
##### OSX
25+
26+
```
27+
# conda
28+
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 -c pytorch
29+
```
30+
31+
##### Linux and Windows
32+
33+
```
34+
# CUDA 9.2
35+
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=9.2 -c pytorch
36+
37+
# CUDA 10.1
38+
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.1 -c pytorch
39+
40+
# CUDA 10.2
41+
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.2 -c pytorch
42+
43+
# CUDA 11.0
44+
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=11.0 -c pytorch
45+
46+
# CPU Only
47+
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cpuonly -c pytorch
48+
```
49+
50+
#### Wheel
51+
52+
##### OSX
53+
54+
```
55+
pip install torch==1.7.1 torchvision==0.8.2 torchaudio=0.7.2
56+
```
57+
58+
##### Linux and Windows
59+
60+
```
61+
# CUDA 11.0
62+
pip install torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
63+
64+
# CUDA 10.2
65+
pip install torch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2
66+
67+
# CUDA 10.1
68+
pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
69+
70+
# CUDA 9.2
71+
pip install torch==1.7.1+cu92 torchvision==0.8.2+cu92 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
72+
73+
# CPU only
74+
pip install torch==1.7.1+cpu torchvision==0.8.2+cpu torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
75+
```
76+
2077
### v1.7.0
2178

2279
#### Conda

0 commit comments

Comments
 (0)