From f63473d6c49665711c4585f5e55fef537876601b Mon Sep 17 00:00:00 2001 From: Nikita Shulga Date: Wed, 7 Oct 2020 16:59:19 -0700 Subject: [PATCH 1/2] Add links to CUDA-11 nightly packages --- _includes/quick_start_local.html | 3 +++ assets/quick-start-module.js | 36 ++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/_includes/quick_start_local.html b/_includes/quick_start_local.html index 8a4905b96e04..f71e52dfc7ef 100644 --- a/_includes/quick_start_local.html +++ b/_includes/quick_start_local.html @@ -94,6 +94,9 @@
10.2
+
+
11.0
+
None
diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js index 4531149a27c2..84209d44cfea 100644 --- a/assets/quick-start-module.js +++ b/assets/quick-start-module.js @@ -196,6 +196,9 @@ function commandMessage(key) { "stable,conda,macos,cuda10.2,python": "conda install pytorch torchvision -c pytorch
# MacOS Binaries dont support CUDA, install from source if CUDA is needed", + "stable,conda,macos,cuda11.0,python": + "conda install pytorch torchvision -c pytorch
# MacOS Binaries dont support CUDA, install from source if CUDA is needed", + "stable,conda,macos,cudanone,python": "conda install pytorch torchvision -c pytorch", @@ -217,6 +220,9 @@ function commandMessage(key) { "stable,pip,macos,cuda10.2,python": "pip install torch torchvision
# MacOS Binaries dont support CUDA, install from source if CUDA is needed", + "stable,pip,macos,cuda11.0,python": + "pip install torch torchvision
# MacOS Binaries dont support CUDA, install from source if CUDA is needed", + "stable,pip,macos,cudanone,python": "pip install torch torchvision", "stable,pip,linux,cudanone,python": @@ -264,6 +270,9 @@ function commandMessage(key) { "stable,libtorch,macos,cuda10.2,cplusplus": "MacOS binaries do not support CUDA. Download CPU libtorch here:
https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.6.0.zip ", + "stable,libtorch,macos,cuda11.0,cplusplus": + "MacOS binaries do not support CUDA. Download CPU libtorch here:
https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.6.0.zip ", + "stable,libtorch,windows,cudanone,cplusplus": "Windows binaries do not support Java. Support is only available for Linux and MacOS. Download here for C++ (Release version):
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.6.0%2Bcpu.zip

Download here for C++ (Debug version):
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.6.0%2Bcpu.zip", @@ -282,6 +291,9 @@ function commandMessage(key) { "preview,conda,linux,cuda10.2,python": "conda install pytorch torchvision cudatoolkit=10.2 -c pytorch-nightly", + "preview,conda,linux,cuda11.0,python": + "conda install pytorch torchvision cudatoolkit=11.0 -c pytorch-nightly", + "preview,conda,linux,cudanone,python": "conda install pytorch torchvision cpuonly -c pytorch-nightly", @@ -294,6 +306,9 @@ function commandMessage(key) { "preview,conda,macos,cuda10.2,python": "conda install pytorch torchvision -c pytorch-nightly", + "preview,conda,macos,cuda11.0,python": + "conda install pytorch torchvision -c pytorch-nightly", + "preview,conda,macos,cudanone,python": "conda install pytorch torchvision -c pytorch-nightly", @@ -306,6 +321,9 @@ function commandMessage(key) { "preview,conda,windows,cuda10.2,python": "conda install pytorch torchvision cudatoolkit=10.2 -c pytorch-nightly", + "preview,conda,windows,cuda11.0,python": + "conda install pytorch torchvision cudatoolkit=11.0 -c pytorch-nightly", + "preview,conda,windows,cudanone,python": "conda install pytorch torchvision cpuonly -c pytorch-nightly", @@ -318,6 +336,9 @@ function commandMessage(key) { "preview,pip,macos,cuda10.2,python": "pip install numpy
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
# On MacOS, we provide CPU-only packages, CUDA functionality is not provided", + "preview,pip,macos,cuda11.0,python": + "pip install numpy
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
# On MacOS, we provide CPU-only packages, CUDA functionality is not provided", + "preview,pip,macos,cudanone,python": "pip install numpy
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html", @@ -333,6 +354,9 @@ function commandMessage(key) { "preview,pip,linux,cuda10.2,python": "pip install numpy
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html", + "preview,pip,linux,cuda11.0,python": + "pip install numpy
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu110/torch_nightly.html", + "preview,pip,windows,cudanone,python": "pip install numpy
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html", @@ -345,6 +369,9 @@ function commandMessage(key) { "preview,pip,windows,cuda10.2,python": "pip install numpy
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html", + "preview,pip,windows,cuda11.0,python": + "pip install numpy
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu110/torch_nightly.html", + "preview,libtorch,linux,cudanone,cplusplus": "Download here (Pre-cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-shared-with-deps-latest.zip

Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-cxx11-abi-shared-with-deps-latest.zip", @@ -357,6 +384,9 @@ function commandMessage(key) { "preview,libtorch,linux,cuda10.2,cplusplus": "Download here (Pre-cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/cu102/libtorch-shared-with-deps-latest.zip

Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/cu102/libtorch-cxx11-abi-shared-with-deps-latest.zip", + "preview,libtorch,linux,cuda11.0,cplusplus": + "Download here (Pre-cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/cu110/libtorch-shared-with-deps-latest.zip

Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/cu110/libtorch-cxx11-abi-shared-with-deps-latest.zip", + "preview,libtorch,macos,cudanone,cplusplus": "Download here:
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip ", @@ -369,6 +399,9 @@ function commandMessage(key) { "preview,libtorch,macos,cuda10.2,cplusplus": "MacOS binaries do not support CUDA. Download CPU libtorch here:
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip ", + "preview,libtorch,macos,cuda11.0,cplusplus": + "MacOS binaries do not support CUDA. Download CPU libtorch here:
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip ", + "preview,libtorch,windows,cudanone,cplusplus": "Windows binaries do not support Java. Support is only available for Linux and MacOS. Download here for C++ (Release version):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-win-shared-with-deps-latest.zip

Download here for C++ (Debug version):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-win-shared-with-deps-debug-latest.zip", @@ -380,6 +413,9 @@ function commandMessage(key) { "preview,libtorch,windows,cuda10.2,cplusplus": "Windows binaries do not support Java. Support is only available for Linux and MacOS. Download here for C++ (Release version):
https://download.pytorch.org/libtorch/nightly/cu102/libtorch-win-shared-with-deps-latest.zip

Download here for C++ (Debug version):
https://download.pytorch.org/libtorch/nightly/cu102/libtorch-win-shared-with-deps-debug-latest.zip", + + "preview,libtorch,windows,cuda11.0,cplusplus": + "Windows binaries do not support Java. Support is only available for Linux and MacOS. Download here for C++ (Release version):
https://download.pytorch.org/libtorch/nightly/cu110/libtorch-win-shared-with-deps-latest.zip

Download here for C++ (Debug version):
https://download.pytorch.org/libtorch/nightly/cu110/libtorch-win-shared-with-deps-debug-latest.zip", }; if (!object.hasOwnProperty(key)) { From bb6b54f0768c6b7685369036a8bf55e866da18a0 Mon Sep 17 00:00:00 2001 From: Nikita Shulga Date: Wed, 7 Oct 2020 22:54:59 -0700 Subject: [PATCH 2/2] Change CUDA column width to auto 12 doesn't divide by 5 evenly --- _includes/quick_start_local.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_includes/quick_start_local.html b/_includes/quick_start_local.html index f71e52dfc7ef..43e20cdc0797 100644 --- a/_includes/quick_start_local.html +++ b/_includes/quick_start_local.html @@ -85,19 +85,19 @@
CUDA
-
+
9.2
-
+
10.1
-
+
10.2
-
+
11.0
-
+
None