Skip to content

Commit 31302e9

Browse files
authored
Merge pull request pytorch#595 from pytorch/malfet/update-previous-versions
Added torch-1.7.0 and 1.7.1 to the list of previous version
2 parents f434c5f + 0786acf commit 31302e9

File tree

1 file changed

+114
-0
lines changed

1 file changed

+114
-0
lines changed

_get_started/previous-versions.md

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,120 @@ 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+
77+
### v1.7.0
78+
79+
#### Conda
80+
81+
##### OSX
82+
83+
```
84+
# conda
85+
conda install pytorch==1.7.0 torchvision==0.8.0 torchaudio==0.7.0 -c pytorch
86+
```
87+
88+
##### Linux and Windows
89+
90+
```
91+
# CUDA 9.2
92+
conda install pytorch==1.7.0 torchvision==0.8.0 torchaudio==0.7.0 cudatoolkit=9.2 -c pytorch
93+
94+
# CUDA 10.1
95+
conda install pytorch==1.7.0 torchvision==0.8.0 torchaudio==0.7.0 cudatoolkit=10.1 -c pytorch
96+
97+
# CUDA 10.2
98+
conda install pytorch==1.7.0 torchvision==0.8.0 torchaudio==0.7.0 cudatoolkit=10.2 -c pytorch
99+
100+
# CUDA 11.0
101+
conda install pytorch==1.7.0 torchvision==0.8.0 torchaudio==0.7.0 cudatoolkit=11.0 -c pytorch
102+
103+
# CPU Only
104+
conda install pytorch==1.7.0 torchvision==0.8.0 torchaudio==0.7.0 cpuonly -c pytorch
105+
```
106+
107+
#### Wheel
108+
109+
##### OSX
110+
111+
```
112+
pip install torch==1.7.0 torchvision==0.8.0 torchaudio=0.7.0
113+
```
114+
115+
##### Linux and Windows
116+
117+
```
118+
# CUDA 11.0
119+
pip install torch==1.7.0+cu110 torchvision==0.8.0+cu110 torchaudio==0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
120+
121+
# CUDA 10.2
122+
pip install torch==1.7.0 torchvision==0.8.0 torchaudio==0.7.0
123+
124+
# CUDA 10.1
125+
pip install torch==1.7.0+cu101 torchvision==0.8.0+cu101 torchaudio==0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
126+
127+
# CUDA 9.2
128+
pip install torch==1.7.0+cu92 torchvision==0.8.0+cu92 torchaudio==0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
129+
130+
# CPU only
131+
pip install torch==1.7.0+cpu torchvision==0.8.0+cpu torchaudio==0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
132+
```
133+
20134
### v1.6.0
21135

22136
#### Conda

0 commit comments

Comments
 (0)