Skip to content

Commit 4dece98

Browse files
authored
Merge pull request pytorch#26 from zou3519/windows-matrix
Add windows matrix
2 parents 1624363 + f999cba commit 4dece98

File tree

3 files changed

+76
-2
lines changed

3 files changed

+76
-2
lines changed

_data/wizard.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,42 @@
7171
-
7272
matcher: 'conda,osx,cudanone,python3.6'
7373
cmd: 'conda install pytorch torchvision -c pytorch <br /> # macOS Binaries dont support CUDA, install from source if CUDA is needed'
74+
-
75+
matcher: 'conda,windows,cuda8,python2.7'
76+
cmd: '# PyTorch does not support Python 2.7 on Windows. Please install with Python 3.'
77+
-
78+
matcher: 'conda,windows,cuda9.0,python2.7'
79+
cmd: '# PyTorch does not support Python 2.7 on Windows. Please install with Python 3.'
80+
-
81+
matcher: 'conda,windows,cuda9.1,python2.7'
82+
cmd: '# PyTorch does not support Python 2.7 on Windows. Please install with Python 3.'
83+
-
84+
matcher: 'conda,windows,cudanone,python2.7'
85+
cmd: '# PyTorch does not support Python 2.7 on Windows. Please install with Python 3.'
86+
-
87+
matcher: 'conda,windows,cuda8,python3.5'
88+
cmd: 'conda install pytorch torchvision -c pytorch'
89+
-
90+
matcher: 'conda,windows,cuda9.0,python3.5'
91+
cmd: 'conda install pytorch torchvision cuda90 -c pytorch'
92+
-
93+
matcher: 'conda,windows,cuda9.1,python3.5'
94+
cmd: 'conda install pytorch torchvision cuda91 -c pytorch'
95+
-
96+
matcher: 'conda,windows,cudanone,python3.5'
97+
cmd: 'conda install pytorch-cpu torchvision -c pytorch'
98+
-
99+
matcher: 'conda,windows,cuda8,python3.6'
100+
cmd: 'conda install pytorch torchvision -c pytorch'
101+
-
102+
matcher: 'conda,windows,cuda9.0,python3.6'
103+
cmd: 'conda install pytorch torchvision cuda90 -c pytorch'
104+
-
105+
matcher: 'conda,windows,cuda9.1,python3.6'
106+
cmd: 'conda install pytorch torchvision cuda91 -c pytorch'
107+
-
108+
matcher: 'conda,windows,cudanone,python3.6'
109+
cmd: 'conda install pytorch-cpu torchvision -c pytorch'
74110

75111
############ pip section #########################
76112
######### macOS ######################
@@ -149,3 +185,41 @@
149185
-
150186
matcher: 'pip,linux,cuda9.1,python3.6'
151187
cmd: 'pip3 install http://download.pytorch.org/whl/cu91/torch-0.4.0-cp36-cp36m-linux_x86_64.whl <br/> pip3 install torchvision'
188+
189+
######### Windows ######################
190+
-
191+
matcher: 'pip,windows,cudanone,python2.7'
192+
cmd: '# PyTorch does not support Python 2.7 on Windows. Please install with Python 3.'
193+
-
194+
matcher: 'pip,windows,cuda8,python2.7'
195+
cmd: '# PyTorch does not support Python 2.7 on Windows. Please install with Python 3.'
196+
-
197+
matcher: 'pip,windows,cuda9.0,python2.7'
198+
cmd: '# PyTorch does not support Python 2.7 on Windows. Please install with Python 3.'
199+
-
200+
matcher: 'pip,windows,cuda9.1,python2.7'
201+
cmd: '# PyTorch does not support Python 2.7 on Windows. Please install with Python 3.'
202+
-
203+
matcher: 'pip,windows,cudanone,python3.5'
204+
cmd: 'pip3 install http://download.pytorch.org/whl/cpu/torch-0.4.0-cp35-cp35m-win_amd64.whl <br/> pip3 install torchvision'
205+
-
206+
matcher: 'pip,windows,cuda8,python3.5'
207+
cmd: 'pip3 install http://download.pytorch.org/whl/cu80/torch-0.4.0-cp35-cp35m-win_amd64.whl <br/> pip3 install torchvision'
208+
-
209+
matcher: 'pip,windows,cuda9.0,python3.5'
210+
cmd: 'pip3 install http://download.pytorch.org/whl/cu90/torch-0.4.0-cp35-cp35m-win_amd64.whl <br/> pip3 install torchvision'
211+
-
212+
matcher: 'pip,windows,cuda9.1,python3.5'
213+
cmd: 'pip3 install http://download.pytorch.org/whl/cu91/torch-0.4.0-cp35-cp35m-win_amd64.whl <br/> pip3 install torchvision'
214+
-
215+
matcher: 'pip,windows,cudanone,python3.6'
216+
cmd: 'pip3 install http://download.pytorch.org/whl/cpu/torch-0.4.0-cp36-cp36m-win_amd64.whl <br/> pip3 install torchvision'
217+
-
218+
matcher: 'pip,windows,cuda8,python3.6'
219+
cmd: 'pip3 install http://download.pytorch.org/whl/cu80/torch-0.4.0-cp36-cp36m-win_amd64.whl <br/> pip3 install torchvision'
220+
-
221+
matcher: 'pip,windows,cuda9.0,python3.6'
222+
cmd: 'pip3 install http://download.pytorch.org/whl/cu90/torch-0.4.0-cp36-cp36m-win_amd64.whl <br/> pip3 install torchvision'
223+
-
224+
matcher: 'pip,windows,cuda9.1,python3.6'
225+
cmd: 'pip3 install http://download.pytorch.org/whl/cu91/torch-0.4.0-cp36-cp36m-win_amd64.whl <br/> pip3 install torchvision'

_sass/_home.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155

156156
&.os {
157157
.btn {
158-
width: (94% / 2);
158+
width: (91% / 3);
159159
margin-right: 2%;
160160
}
161161
}
@@ -325,4 +325,3 @@
325325
max-width: 100%;
326326
}
327327
}
328-

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ <h4>Select your preferences, then run the <br> PyTorch install command. <br /> <
3030
<div class="option-set">
3131
<div class="btn selected">Linux</div>
3232
<div class="btn">OSX</div>
33+
<div class="btn">Windows</div>
3334
</div>
3435
</div>
3536
<div class="option-row pm" data-key="pm">

0 commit comments

Comments
 (0)