Skip to content

Commit 5686c09

Browse files
authored
Merge pull request pytorch#514 from pytorch/malfet/add-1.6.0-to-previous-version
Add 1.6.0 to previous versions list
2 parents d568912 + 5857b55 commit 5686c09

File tree

2 files changed

+53
-2
lines changed

2 files changed

+53
-2
lines changed

_get_started/previous-versions.md

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

2273
#### Conda

_includes/quick_start_local.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p>Select your preferences and run the install command. Stable represents the most currently tested and supported version of PyTorch. This should
2-
be suitable for many users. Preview is available if you want the latest, not fully tested and supported, 1.7 builds that are generated nightly.
2+
be suitable for many users. Preview is available if you want the latest, not fully tested and supported, 1.8 builds that are generated nightly.
33
Please ensure that you have <b>met the prerequisites below (e.g., numpy)</b>, depending on your package manager. Anaconda is our recommended
44
package manager since it installs all dependencies. You can also
55
<a href="{{ site.baseurl }}/get-started/previous-versions">install previous versions of PyTorch</a>. Note that LibTorch is only available for C++.
@@ -33,7 +33,7 @@
3333
<div class="option-text">PyTorch Build</div>
3434
</div>
3535
<div class="col-md-6 option block version selected" id="stable">
36-
<div class="option-text">Stable (1.6.0)</div>
36+
<div class="option-text">Stable (1.7.0)</div>
3737
</div>
3838
<div class="col-md-6 option block version" id="preview">
3939
<div class="option-text">Preview (Nightly)</div>

0 commit comments

Comments
 (0)