Skip to content

Commit f3020b2

Browse files
authored
Add 1.5.1 to the list of previous versons
Also, fix download commands for wheels with latest CUDA for 1.5.0 and 1.4.0
1 parent c7f72c3 commit f3020b2

File tree

1 file changed

+54
-3
lines changed

1 file changed

+54
-3
lines changed

_get_started/previous-versions.md

+54-3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,57 @@ your convenience.
1717

1818
## Commands for Versions >= 1.0.0
1919

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

2273
#### Conda
@@ -56,7 +107,7 @@ pip install torch==1.5.0 torchvision==0.6.0
56107

57108
```
58109
# CUDA 10.2
59-
pip install torch==1.5.0 torchvision==0.6.0 -f https://download.pytorch.org/whl/torch_stable.html
110+
pip install torch==1.5.0 torchvision==0.6.0
60111
61112
# CUDA 10.1
62113
pip install torch==1.5.0+cu101 torchvision==0.6.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
@@ -104,7 +155,7 @@ pip install torch==1.4.0 torchvision==0.5.0
104155

105156
```
106157
# CUDA 10.1
107-
pip install torch==1.4.0 torchvision==0.5.0 -f https://download.pytorch.org/whl/torch_stable.html
158+
pip install torch==1.4.0 torchvision==0.5.0
108159
109160
# CUDA 9.2
110161
pip install torch==1.4.0+cu92 torchvision==0.5.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html
@@ -149,7 +200,7 @@ pip install torch==1.2.0 torchvision==0.4.0
149200

150201
```
151202
# CUDA 10.0
152-
pip install torch==1.2.0 torchvision==0.4.0 -f https://download.pytorch.org/whl/torch_stable.html
203+
pip install torch==1.2.0 torchvision==0.4.0
153204
154205
# CUDA 9.2
155206
pip install torch==1.2.0+cu92 torchvision==0.4.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html

0 commit comments

Comments
 (0)