Skip to content

Add links to CUDA-11 nightly packages #498

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions _includes/quick_start_local.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,19 @@
<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="cuda9.2">
<div class="col-md option block version" id="cuda9.2">
<div class="option-text">9.2</div>
</div>
<div class="col-md-3 option block version" id="cuda10.1">
<div class="col-md option block version" id="cuda10.1">
<div class="option-text">10.1</div>
</div>
<div class="col-md-3 option block version selected" id="cuda10.2">
<div class="col-md option block version selected" id="cuda10.2">
<div class="option-text">10.2</div>
</div>
<div class="col-md-3 option block version" id="cudanone">
<div class="col-md option block version" id="cuda11.0">
<div class="option-text">11.0</div>
</div>
<div class="col-md option block version" id="cudanone">
<div class="option-text">None</div>
</div>
</div>
Expand Down
36 changes: 36 additions & 0 deletions assets/quick-start-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ function commandMessage(key) {
"stable,conda,macos,cuda10.2,python":
"conda install pytorch torchvision -c pytorch<br /># MacOS Binaries dont support CUDA, install from source if CUDA is needed",

"stable,conda,macos,cuda11.0,python":
"conda install pytorch torchvision -c pytorch<br /># MacOS Binaries dont support CUDA, install from source if CUDA is needed",

"stable,conda,macos,cudanone,python":
"conda install pytorch torchvision -c pytorch",

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

"stable,pip,macos,cuda11.0,python":
"pip install torch torchvision<br /># 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":
Expand Down Expand Up @@ -264,6 +270,9 @@ function commandMessage(key) {
"stable,libtorch,macos,cuda10.2,cplusplus":
"MacOS binaries do not support CUDA. Download CPU libtorch here: <br/><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.6.0.zip'> https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.6.0.zip </a>",

"stable,libtorch,macos,cuda11.0,cplusplus":
"MacOS binaries do not support CUDA. Download CPU libtorch here: <br/><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.6.0.zip'> https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.6.0.zip </a>",

"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): <br/><a href='https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.6.0%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.6.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.6.0%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.6.0%2Bcpu.zip</a>",

Expand All @@ -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",

Expand All @@ -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",

Expand All @@ -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",

Expand All @@ -318,6 +336,9 @@ function commandMessage(key) {
"preview,pip,macos,cuda10.2,python":
"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",

"preview,pip,macos,cuda11.0,python":
"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",

"preview,pip,macos,cudanone,python":
"pip install numpy<br />pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html",

Expand All @@ -333,6 +354,9 @@ function commandMessage(key) {
"preview,pip,linux,cuda10.2,python":
"pip install numpy<br />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<br />pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu110/torch_nightly.html",

"preview,pip,windows,cudanone,python":
"pip install numpy<br />pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html",

Expand All @@ -345,6 +369,9 @@ function commandMessage(key) {
"preview,pip,windows,cuda10.2,python":
"pip install numpy<br />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<br />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): <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>",

Expand All @@ -357,6 +384,9 @@ function commandMessage(key) {
"preview,libtorch,linux,cuda10.2,cplusplus":
"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>",

"preview,libtorch,linux,cuda11.0,cplusplus":
"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>",

"preview,libtorch,macos,cudanone,cplusplus":
"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>",

Expand All @@ -369,6 +399,9 @@ function commandMessage(key) {
"preview,libtorch,macos,cuda10.2,cplusplus":
"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>",

"preview,libtorch,macos,cuda11.0,cplusplus":
"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>",

"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): <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>",

Expand All @@ -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): <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>",

"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): <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>",
};

if (!object.hasOwnProperty(key)) {
Expand Down