forked from pytorch/pytorch.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquick_start_local.html
119 lines (117 loc) · 4.57 KB
/
quick_start_local.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<p>Select your preferences and run the install command. Stable represents the most currently tested and supported version of PyTorch 1.0. This should
be suitable for many users. Preview is available if you want the latest, not fully tested and supported, 1.0 builds that are generated nightly.
Please ensure that you have <b>met the prerequisites below (e.g., numpy)</b>, depending on your package manager. Anaconda is our recommended
package manager since it installs all dependencies. You can also
<a href="{{ site.baseurl }}/get-started/previous-versions">install previous versions of PyTorch</a>. Note that LibTorch is only available for C++.
</p>
<div class="row">
<div class="col-md-3 headings">
<div class="col-md-12 title-block">
<div class="option-text">PyTorch Build</div>
</div>
<div class="col-md-12 title-block">
<div class="option-text os-text">Your OS</div>
</div>
<div class="col-md-12 title-block">
<div class="option-text">Package</div>
</div>
<div class="col-md-12 title-block">
<div class="option-text">Language</div>
</div>
<div class="col-md-12 title-block">
<div class="option-text">CUDA</div>
</div>
<div class="col-md-12 title-block command-block">
<div class="option-text command-text">Run this Command:</div>
</div>
</div>
<div class="col-md-9">
<div class="row ptbuild">
<div class="col-md-12 title-block mobile-heading">
<div class="option-text">PyTorch Build</div>
</div>
<div class="col-md-6 option block version selected" id="stable">
<div class="option-text">Stable (1.0)</div>
</div>
<div class="col-md-6 option block version" id="preview">
<div class="option-text">Preview (Nightly)</div>
</div>
</div>
<div class="row os">
<div class="col-md-12 title-block mobile-heading">
<div class="option-text">Your OS</div>
</div>
<div class="col-md-4 option block" id="linux">
<div class="option-text">Linux</div>
</div>
<div class="col-md-4 option block" id="macos">
<div class="option-text">Mac</div>
</div>
<div class="col-md-4 option block" id="windows">
<div class="option-text">Windows</div>
</div>
</div>
<div class="row package">
<div class="col-md-12 title-block mobile-heading">
<div class="option-text">Package</div>
</div>
<div class="col-md-3 option block selected" id="conda">
<div class="option-text">Conda</div>
</div>
<div class="col-md-3 option block" id="pip">
<div class="option-text">Pip</div>
</div>
<div class="col-md-3 option block" id="libtorch">
<div class="option-text">LibTorch</div>
</div>
<div class="col-md-3 option block" id="source">
<div class="option-text">Source</div>
</div>
</div>
<div class="row language">
<div class="col-md-12 title-block mobile-heading">
<div class="option-text">Language</div>
</div>
<div class="col-md-2-4 option block version" id="python2.7">
<div class="option-text">Python 2.7</div>
</div>
<div class="col-md-2-4 option block version" id="python3.5">
<div class="option-text">Python 3.5</div>
</div>
<div class="col-md-2-4 option block version selected" id="python3.6">
<div class="option-text">Python 3.6</div>
</div>
<div class="col-md-2-4 option block" id="python3.7">
<div class="option-text">Python 3.7</div>
</div>
<div class="col-md-2-4 option block" id="cplusplus">
<div class="option-text">C++</div>
</div>
</div>
<div class="row cuda">
<div class="col-md-12 title-block mobile-heading">
<div class="option-text">CUDA</div>
</div>
<div class="col-md-3 option block version" id="cuda8">
<div class="option-text">8.0</div>
</div>
<div class="col-md-3 option block version selected" id="cuda9.0">
<div class="option-text">9.0</div>
</div>
<div class="col-md-3 option block version" id="cuda10.0">
<div class="option-text">10.0</div>
</div>
<div class="col-md-3 option block version" id="cudanone">
<div class="option-text">None</div>
</div>
</div>
<div class="row">
<div class="col-md-12 title-block command-mobile-heading">
<div class="option-text">Run this Command:</div>
</div>
<div class="command-container">
<div class="col-md-12" id="command">conda install pytorch torchvision -c pytorch</div>
</div>
</div>
</div>
</div>