Skip to content

Commit c5141dc

Browse files
committed
fix conda cpuonly commands
1 parent 9e8ecf8 commit c5141dc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

assets/quick-start-module.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ function commandMessage(key) {
422422
"conda install pytorch cudatoolkit=10.0 -c pytorch-nightly",
423423

424424
"preview,conda,linux,cudanone,python2.7":
425-
"conda install pytorch -c pytorch-nightly",
425+
"conda install pytorch cpuonly -c pytorch-nightly",
426426

427427
"preview,conda,linux,cuda9.2,python3.5":
428428
"conda install pytorch cudatoolkit=9.2 -c pytorch-nightly",
@@ -431,7 +431,7 @@ function commandMessage(key) {
431431
"conda install pytorch cudatoolkit=10.0 -c pytorch-nightly",
432432

433433
"preview,conda,linux,cudanone,python3.5":
434-
"conda install pytorch -c pytorch-nightly",
434+
"conda install pytorch cpuonly -c pytorch-nightly",
435435

436436
"preview,conda,linux,cuda9.2,python3.6":
437437
"conda install pytorch cudatoolkit=9.2 -c pytorch-nightly",
@@ -440,7 +440,7 @@ function commandMessage(key) {
440440
"conda install pytorch cudatoolkit=10.0 -c pytorch-nightly",
441441

442442
"preview,conda,linux,cudanone,python3.6":
443-
"conda install pytorch -c pytorch-nightly",
443+
"conda install pytorch cpuonly -c pytorch-nightly",
444444

445445
"preview,conda,linux,cuda9.2,python3.7":
446446
"conda install pytorch cudatoolkit=9.2 -c pytorch-nightly",
@@ -449,7 +449,7 @@ function commandMessage(key) {
449449
"conda install pytorch cudatoolkit=10.0 -c pytorch-nightly",
450450

451451
"preview,conda,linux,cudanone,python3.7":
452-
"conda install pytorch -c pytorch-nightly",
452+
"conda install pytorch cpuonly -c pytorch-nightly",
453453

454454
"preview,conda,macos,cuda9.2,python2.7":
455455
"conda install pytorch -c pytorch-nightly",
@@ -503,7 +503,7 @@ function commandMessage(key) {
503503
"conda install pytorch cudatoolkit=10.0 -c pytorch-nightly",
504504

505505
"preview,conda,windows,cudanone,python3.5":
506-
"conda install pytorch -c pytorch-nightly",
506+
"conda install pytorch cpuonly -c pytorch-nightly",
507507

508508
"preview,conda,windows,cuda9.2,python3.6":
509509
"conda install pytorch cudatoolkit=9.2 -c pytorch-nightly -c defaults -c numba/label/dev",
@@ -512,7 +512,7 @@ function commandMessage(key) {
512512
"conda install pytorch cudatoolkit=10.0 -c pytorch-nightly",
513513

514514
"preview,conda,windows,cudanone,python3.6":
515-
"conda install pytorch -c pytorch-nightly",
515+
"conda install pytorch cpuonly -c pytorch-nightly",
516516

517517
"preview,conda,windows,cuda9.2,python3.7":
518518
"conda install pytorch cudatoolkit=9.2 -c pytorch-nightly -c defaults -c numba/label/dev",
@@ -521,7 +521,7 @@ function commandMessage(key) {
521521
"conda install pytorch cudatoolkit=10.0 -c pytorch-nightly",
522522

523523
"preview,conda,windows,cudanone,python3.7":
524-
"conda install pytorch -c pytorch-nightly",
524+
"conda install pytorch cpuonly -c pytorch-nightly",
525525

526526
"preview,pip,macos,cuda9.2,python2.7":
527527
"pip install numpy<br />pip install torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html<br /># On MacOS, we provide CPU-only packages, CUDA functionality is not provided",

0 commit comments

Comments
 (0)