Skip to content

Commit a66bad8

Browse files
committed
assets: Add CUDA 11 sections to quick start
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
1 parent 9bb583c commit a66bad8

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

assets/quick-start-module.js

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ function commandMessage(key) {
184184
"stable,conda,linux,cuda10.2,python":
185185
"conda install pytorch torchvision cudatoolkit=10.2 -c pytorch",
186186

187+
"stable,conda,linux,cuda11.0,python":
188+
"conda install pytorch torchvision cudatoolkit=11.0 -c pytorch",
189+
187190
"stable,conda,linux,cudanone,python":
188191
"conda install pytorch torchvision cpuonly -c pytorch",
189192

@@ -196,6 +199,9 @@ function commandMessage(key) {
196199
"stable,conda,macos,cuda10.2,python":
197200
"conda install pytorch torchvision -c pytorch<br /># MacOS Binaries dont support CUDA, install from source if CUDA is needed",
198201

202+
"stable,conda,macos,cuda11.0,python":
203+
"conda install pytorch torchvision -c pytorch<br /># MacOS Binaries dont support CUDA, install from source if CUDA is needed",
204+
199205
"stable,conda,macos,cudanone,python":
200206
"conda install pytorch torchvision -c pytorch",
201207

@@ -205,6 +211,9 @@ function commandMessage(key) {
205211
"stable,conda,windows,cuda10.2,python":
206212
"conda install pytorch torchvision cudatoolkit=10.2 -c pytorch",
207213

214+
"stable,conda,windows,cuda11.0,python":
215+
"conda install pytorch torchvision cudatoolkit=11.0 -c pytorch",
216+
208217
"stable,conda,windows,cudanone,python":
209218
"conda install pytorch torchvision cpuonly -c pytorch",
210219

@@ -217,6 +226,9 @@ function commandMessage(key) {
217226
"stable,pip,macos,cuda10.2,python":
218227
"pip install torch torchvision<br /># MacOS Binaries dont support CUDA, install from source if CUDA is needed",
219228

229+
"stable,pip,macos,cuda11.0,python":
230+
"pip install torch torchvision<br /># MacOS Binaries dont support CUDA, install from source if CUDA is needed",
231+
220232
"stable,pip,macos,cudanone,python": "pip install torch torchvision",
221233

222234
"stable,pip,linux,cudanone,python":
@@ -231,6 +243,9 @@ function commandMessage(key) {
231243
"stable,pip,linux,cuda10.2,python":
232244
"pip install torch torchvision",
233245

246+
"stable,pip,linux,cuda11.0,python":
247+
"pip install torch==1.7.0+cu110 torchvision==0.8.0+cu110 -f https://download.pytorch.org/whl/torch_stable.html",
248+
234249
"stable,pip,windows,cudanone,python":
235250
"pip install torch==1.7.0+cpu torchvision==0.8.0+cpu -f https://download.pytorch.org/whl/torch_stable.html",
236251

@@ -240,6 +255,9 @@ function commandMessage(key) {
240255
"stable,pip,windows,cuda10.2,python":
241256
"pip install torch===1.7.0 torchvision===0.8.0 -f https://download.pytorch.org/whl/torch_stable.html",
242257

258+
"stable,pip,windows,cuda11.0,python":
259+
"pip install torch===1.7.0+cu110 torchvision===0.8.0+cu110 -f https://download.pytorch.org/whl/torch_stable.html",
260+
243261
"stable,libtorch,linux,cudanone,cplusplus":
244262
"Download here (Pre-cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-1.7.0%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-1.7.0%2Bcpu.zip</a><br/><br> Download here (cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.7.0%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.7.0%2Bcpu.zip</a>",
245263

@@ -252,6 +270,9 @@ function commandMessage(key) {
252270
"stable,libtorch,linux,cuda10.2,cplusplus":
253271
"Download here (Pre-cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/cu102/libtorch-shared-with-deps-1.7.0.zip'>https://download.pytorch.org/libtorch/cu102/libtorch-shared-with-deps-1.7.0.zip</a><br/><br> Download here (cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/cu102/libtorch-cxx11-abi-shared-with-deps-1.7.0.zip'>https://download.pytorch.org/libtorch/cu102/libtorch-cxx11-abi-shared-with-deps-1.7.0.zip</a>",
254272

273+
"stable,libtorch,linux,cuda11.0,cplusplus":
274+
"Download here (Pre-cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/cu110/libtorch-shared-with-deps-1.7.0.zip'>https://download.pytorch.org/libtorch/cu110/libtorch-shared-with-deps-1.7.0.zip</a><br/><br> Download here (cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/cu110/libtorch-cxx11-abi-shared-with-deps-1.7.0.zip'>https://download.pytorch.org/libtorch/cu110/libtorch-cxx11-abi-shared-with-deps-1.7.0.zip</a>",
275+
255276
"stable,libtorch,macos,cudanone,cplusplus":
256277
"Download here: <br/><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.7.0.zip'> https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.7.0.zip </a>",
257278

@@ -264,6 +285,9 @@ function commandMessage(key) {
264285
"stable,libtorch,macos,cuda10.2,cplusplus":
265286
"MacOS binaries do not support CUDA. Download CPU libtorch here: <br/><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.7.0.zip'> https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.7.0.zip </a>",
266287

288+
"stable,libtorch,macos,cuda11.0,cplusplus":
289+
"MacOS binaries do not support CUDA. Download CPU libtorch here: <br/><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.7.0.zip'> https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.7.0.zip </a>",
290+
267291
"stable,libtorch,windows,cudanone,cplusplus":
268292
"Windows binaries do not support Java. Support is only available for Linux and MacOS. Download here for C++ (Release version): <br/><a href='https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.7.0%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.7.0%2Bcpu.zip</a><br/><br> Download here for C++ (Debug version): <br/><a href='https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.7.0%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.7.0%2Bcpu.zip</a>",
269293

@@ -273,6 +297,9 @@ function commandMessage(key) {
273297
"stable,libtorch,windows,cuda10.2,cplusplus":
274298
"Windows binaries do not support Java. Support is only available for Linux and MacOS. Download here for C++ (Release version): <br/><a href='https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-1.7.0.zip'>https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-1.7.0.zip</a><br/><br> Download here for C++ (Debug version): <br/><a href='https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-debug-1.7.0.zip'>https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-debug-1.7.0.zip</a>",
275299

300+
"stable,libtorch,windows,cuda11.0,cplusplus":
301+
"Windows binaries do not support Java. Support is only available for Linux and MacOS. Download here for C++ (Release version): <br/><a href='https://download.pytorch.org/libtorch/cu110/libtorch-win-shared-with-deps-1.7.0.zip'>https://download.pytorch.org/libtorch/cu110/libtorch-win-shared-with-deps-1.7.0.zip</a><br/><br> Download here for C++ (Debug version): <br/><a href='https://download.pytorch.org/libtorch/cu110/libtorch-win-shared-with-deps-debug-1.7.0.zip'>https://download.pytorch.org/libtorch/cu110/libtorch-win-shared-with-deps-debug-1.7.0.zip</a>",
302+
276303
"preview,conda,linux,cuda9.2,python":
277304
"conda install pytorch torchvision cudatoolkit=9.2 -c pytorch-nightly",
278305

@@ -282,6 +309,9 @@ function commandMessage(key) {
282309
"preview,conda,linux,cuda10.2,python":
283310
"conda install pytorch torchvision cudatoolkit=10.2 -c pytorch-nightly",
284311

312+
"preview,conda,linux,cuda11.0,python":
313+
"conda install pytorch torchvision cudatoolkit=11.0 -c pytorch-nightly",
314+
285315
"preview,conda,linux,cudanone,python":
286316
"conda install pytorch torchvision cpuonly -c pytorch-nightly",
287317

@@ -294,6 +324,9 @@ function commandMessage(key) {
294324
"preview,conda,macos,cuda10.2,python":
295325
"conda install pytorch torchvision -c pytorch-nightly",
296326

327+
"preview,conda,macos,cuda11.0,python":
328+
"conda install pytorch torchvision -c pytorch-nightly",
329+
297330
"preview,conda,macos,cudanone,python":
298331
"conda install pytorch torchvision -c pytorch-nightly",
299332

@@ -306,6 +339,9 @@ function commandMessage(key) {
306339
"preview,conda,windows,cuda10.2,python":
307340
"conda install pytorch torchvision cudatoolkit=10.2 -c pytorch-nightly",
308341

342+
"preview,conda,windows,cuda11.0,python":
343+
"conda install pytorch torchvision cudatoolkit=11.0 -c pytorch-nightly",
344+
309345
"preview,conda,windows,cudanone,python":
310346
"conda install pytorch torchvision cpuonly -c pytorch-nightly",
311347

@@ -318,6 +354,9 @@ function commandMessage(key) {
318354
"preview,pip,macos,cuda10.2,python":
319355
"pip install numpy<br />pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html<br /># On MacOS, we provide CPU-only packages, CUDA functionality is not provided",
320356

357+
"preview,pip,macos,cuda11.0,python":
358+
"pip install numpy<br />pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html<br /># On MacOS, we provide CPU-only packages, CUDA functionality is not provided",
359+
321360
"preview,pip,macos,cudanone,python":
322361
"pip install numpy<br />pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html",
323362

@@ -333,6 +372,9 @@ function commandMessage(key) {
333372
"preview,pip,linux,cuda10.2,python":
334373
"pip install numpy<br />pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html",
335374

375+
"preview,pip,linux,cuda11.0,python":
376+
"pip install numpy<br />pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu110/torch_nightly.html",
377+
336378
"preview,pip,windows,cudanone,python":
337379
"pip install numpy<br />pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html",
338380

@@ -345,6 +387,9 @@ function commandMessage(key) {
345387
"preview,pip,windows,cuda10.2,python":
346388
"pip install numpy<br />pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html",
347389

390+
"preview,pip,windows,cuda11.0,python":
391+
"pip install numpy<br />pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu110/torch_nightly.html",
392+
348393
"preview,libtorch,linux,cudanone,cplusplus":
349394
"Download here (Pre-cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-shared-with-deps-latest.zip</a><br/><br> Download here (cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>",
350395

@@ -357,6 +402,9 @@ function commandMessage(key) {
357402
"preview,libtorch,linux,cuda10.2,cplusplus":
358403
"Download here (Pre-cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/nightly/cu102/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu102/libtorch-shared-with-deps-latest.zip</a><br/><br> Download here (cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/nightly/cu102/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu102/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>",
359404

405+
"preview,libtorch,linux,cuda11.0,cplusplus":
406+
"Download here (Pre-cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/nightly/cu110/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu110/libtorch-shared-with-deps-latest.zip</a><br/><br> Download here (cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/nightly/cu110/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu110/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>",
407+
360408
"preview,libtorch,macos,cudanone,cplusplus":
361409
"Download here: <br/><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip'> https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip </a>",
362410

@@ -369,6 +417,9 @@ function commandMessage(key) {
369417
"preview,libtorch,macos,cuda10.2,cplusplus":
370418
"MacOS binaries do not support CUDA. Download CPU libtorch here: <br/><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip'> https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip </a>",
371419

420+
"preview,libtorch,macos,cuda11.0,cplusplus":
421+
"MacOS binaries do not support CUDA. Download CPU libtorch here: <br/><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip'> https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip </a>",
422+
372423
"preview,libtorch,windows,cudanone,cplusplus":
373424
"Windows binaries do not support Java. Support is only available for Linux and MacOS. Download here for C++ (Release version): <br/><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-win-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-win-shared-with-deps-latest.zip</a><br/><br> Download here for C++ (Debug version): <br/><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-win-shared-with-deps-debug-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-win-shared-with-deps-debug-latest.zip</a>",
374425

@@ -380,6 +431,9 @@ function commandMessage(key) {
380431

381432
"preview,libtorch,windows,cuda10.2,cplusplus":
382433
"Windows binaries do not support Java. Support is only available for Linux and MacOS. Download here for C++ (Release version): <br/><a href='https://download.pytorch.org/libtorch/nightly/cu102/libtorch-win-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu102/libtorch-win-shared-with-deps-latest.zip</a><br/><br> Download here for C++ (Debug version): <br/><a href='https://download.pytorch.org/libtorch/nightly/cu102/libtorch-win-shared-with-deps-debug-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu102/libtorch-win-shared-with-deps-debug-latest.zip</a>",
434+
435+
"preview,libtorch,windows,cuda11.0,cplusplus":
436+
"Windows binaries do not support Java. Support is only available for Linux and MacOS. Download here for C++ (Release version): <br/><a href='https://download.pytorch.org/libtorch/nightly/cu110/libtorch-win-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu110/libtorch-win-shared-with-deps-latest.zip</a><br/><br> Download here for C++ (Debug version): <br/><a href='https://download.pytorch.org/libtorch/nightly/cu110/libtorch-win-shared-with-deps-debug-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu110/libtorch-win-shared-with-deps-debug-latest.zip</a>",
383437
};
384438

385439
if (!object.hasOwnProperty(key)) {

0 commit comments

Comments
 (0)