From c0e592ade773df33ad7656ffa01f62595f7a6865 Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Mon, 27 Jul 2020 20:26:53 -0700 Subject: [PATCH 1/2] quick-start: Update torch -> 1.6.0, vision -> 0.7.0 Signed-off-by: Eli Uriegas --- assets/quick-start-module.js | 38 ++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js index e30459254a4f..b1b5356a7c5c 100644 --- a/assets/quick-start-module.js +++ b/assets/quick-start-module.js @@ -223,64 +223,64 @@ function commandMessage(key) { "stable,pip,macos,cudanone,python": "pip install torch torchvision", "stable,pip,linux,cudanone,python": - "pip install torch==1.5.1+cpu torchvision==0.6.1+cpu -f https://download.pytorch.org/whl/torch_stable.html", + "pip install torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html", "stable,pip,linux,cuda9.2,python": - "pip install torch==1.5.1+cu92 torchvision==0.6.1+cu92 -f https://download.pytorch.org/whl/torch_stable.html", + "pip install torch==1.6.0+cu92 torchvision==0.7.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html", "stable,pip,linux,cuda10.1,python": - "pip install torch==1.5.1+cu101 torchvision==0.6.1+cu101 -f https://download.pytorch.org/whl/torch_stable.html", + "pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html", "stable,pip,linux,cuda10.2,python": "pip install torch torchvision", "stable,pip,windows,cudanone,python": - "pip install torch==1.5.1+cpu torchvision==0.6.1+cpu -f https://download.pytorch.org/whl/torch_stable.html", + "pip install torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html", "stable,pip,windows,cuda9.2,python": - "pip install torch==1.5.1+cu92 torchvision==0.6.1+cu92 -f https://download.pytorch.org/whl/torch_stable.html", + "pip install torch==1.6.0+cu92 torchvision==0.7.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html", "stable,pip,windows,cuda10.1,python": - "pip install torch==1.5.1+cu101 torchvision==0.6.1+cu101 -f https://download.pytorch.org/whl/torch_stable.html", + "pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html", "stable,pip,windows,cuda10.2,python": - "pip install torch===1.5.1 torchvision===0.6.1 -f https://download.pytorch.org/whl/torch_stable.html", + "pip install torch===1.6.0 torchvision===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html", "stable,libtorch,linux,cudanone,cplusplus": - "Download here (Pre-cxx11 ABI):
https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-1.5.1%2Bcpu.zip

Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.5.1%2Bcpu.zip", + "Download here (Pre-cxx11 ABI):
https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-1.6.0%2Bcpu.zip

Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.6.0%2Bcpu.zip", "stable,libtorch,linux,cuda9.2,cplusplus": - "Download here (Pre-cxx11 ABI):
https://download.pytorch.org/libtorch/cu92/libtorch-shared-with-deps-1.5.1%2Bcu92.zip

Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cu92/libtorch-cxx11-abi-shared-with-deps-1.5.1%2Bcu92.zip", + "Download here (Pre-cxx11 ABI):
https://download.pytorch.org/libtorch/cu92/libtorch-shared-with-deps-1.6.0%2Bcu92.zip

Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cu92/libtorch-cxx11-abi-shared-with-deps-1.6.0%2Bcu92.zip", "stable,libtorch,linux,cuda10.1,cplusplus": - "Download here (Pre-cxx11 ABI):
https://download.pytorch.org/libtorch/cu101/libtorch-shared-with-deps-1.5.1%2Bcu101.zip

Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cu101/libtorch-cxx11-abi-shared-with-deps-1.5.1%2Bcu101.zip", + "Download here (Pre-cxx11 ABI):
https://download.pytorch.org/libtorch/cu101/libtorch-shared-with-deps-1.6.0%2Bcu101.zip

Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cu101/libtorch-cxx11-abi-shared-with-deps-1.6.0%2Bcu101.zip", "stable,libtorch,linux,cuda10.2,cplusplus": - "Download here (Pre-cxx11 ABI):
https://download.pytorch.org/libtorch/cu102/libtorch-shared-with-deps-1.5.1.zip

Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cu102/libtorch-cxx11-abi-shared-with-deps-1.5.1.zip", + "Download here (Pre-cxx11 ABI):
https://download.pytorch.org/libtorch/cu102/libtorch-shared-with-deps-1.6.0.zip

Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cu102/libtorch-cxx11-abi-shared-with-deps-1.6.0.zip", "stable,libtorch,macos,cudanone,cplusplus": - "MacOS binaries do not support Java. Support is only available for Linux. Download here for C++:
https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.5.1.zip ", + "MacOS binaries do not support Java. Support is only available for Linux. Download here for C++:
https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.6.0.zip ", "stable,libtorch,macos,cuda9.2,cplusplus": - "MacOS binaries do not support Java. Support is only available for Linux. MacOS binaries do not support CUDA. Download CPU libtorch here for C++:
https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.5.1.zip ", + "MacOS binaries do not support Java. Support is only available for Linux. MacOS binaries do not support CUDA. Download CPU libtorch here for C++:
https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.6.0.zip ", "stable,libtorch,macos,cuda10.1,cplusplus": - "MacOS binaries do not support Java. Support is only available for Linux. MacOS binaries do not support CUDA. Download CPU libtorch here for C++:
https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.5.1.zip ", + "MacOS binaries do not support Java. Support is only available for Linux. MacOS binaries do not support CUDA. Download CPU libtorch here for C++:
https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.6.0.zip ", "stable,libtorch,macos,cuda10.2,cplusplus": - "MacOS binaries do not support Java. Support is only available for Linux. MacOS binaries do not support CUDA. Download CPU libtorch here for C++:
https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.5.1.zip ", + "MacOS binaries do not support Java. Support is only available for Linux. MacOS binaries do not support CUDA. Download CPU libtorch here for C++:
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. Download here for C++ (Release version):
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-1.5.1%2Bcpu.zip

Download here for C++ (Debug version):
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-1.5.1%2Bcpu.zip", + "Windows binaries do not support Java. Support is only available for Linux. 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", "stable,libtorch,windows,cuda9.2,cplusplus": - "Windows binaries do not support Java. Support is only available for Linux. Download here for C++ (Release version):
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-1.5.1%2Bcu92.zip

Download here for C++ (Debug version):
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-debug-1.5.1%2Bcu92.zip", + "Windows binaries do not support Java. Support is only available for Linux. Download here for C++ (Release version):
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-1.6.0%2Bcu92.zip

Download here for C++ (Debug version):
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-debug-1.6.0%2Bcu92.zip", "stable,libtorch,windows,cuda10.1,cplusplus": - "Windows binaries do not support Java. Support is only available for Linux. Download here for C++ (Release version):
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-1.5.1%2Bcu101.zip

Download here for C++ (Debug version):
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-debug-1.5.1%2Bcu101.zip", + "Windows binaries do not support Java. Support is only available for Linux. Download here for C++ (Release version):
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-1.6.0%2Bcu101.zip

Download here for C++ (Debug version):
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-debug-1.6.0%2Bcu101.zip", "stable,libtorch,windows,cuda10.2,cplusplus": - "Windows binaries do not support Java. Support is only available for Linux. Download here for C++ (Release version):
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-1.5.1.zip

Download here for C++ (Debug version):
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-debug-1.5.1.zip", + "Windows binaries do not support Java. Support is only available for Linux. Download here for C++ (Release version):
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-1.6.0.zip

Download here for C++ (Debug version):
https://download.pytorch.org/libtorch/cu102/libtorch-win-shared-with-deps-debug-1.6.0.zip", "preview,conda,linux,cuda9.2,python": "conda install pytorch torchvision cudatoolkit=9.2 -c pytorch-nightly", From 49f862fccf0ed864908d451d472494585f12f345 Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Mon, 27 Jul 2020 20:28:27 -0700 Subject: [PATCH 2/2] Remove references to stable windows cuda 9.2 We unfortunately could not build them for 1.6.0 due to issues with Visual Studio 2014 and sccache Signed-off-by: Eli Uriegas --- assets/quick-start-module.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js index b1b5356a7c5c..8c6bd5ee2c7f 100644 --- a/assets/quick-start-module.js +++ b/assets/quick-start-module.js @@ -199,9 +199,6 @@ function commandMessage(key) { "stable,conda,macos,cudanone,python": "conda install pytorch torchvision -c pytorch", - "stable,conda,windows,cuda9.2,python": - "conda install pytorch torchvision cudatoolkit=9.2 -c pytorch -c defaults -c numba/label/dev ", - "stable,conda,windows,cuda10.1,python": "conda install pytorch torchvision cudatoolkit=10.1 -c pytorch", @@ -237,9 +234,6 @@ function commandMessage(key) { "stable,pip,windows,cudanone,python": "pip install torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html", - "stable,pip,windows,cuda9.2,python": - "pip install torch==1.6.0+cu92 torchvision==0.7.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html", - "stable,pip,windows,cuda10.1,python": "pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html", @@ -273,9 +267,6 @@ function commandMessage(key) { "stable,libtorch,windows,cudanone,cplusplus": "Windows binaries do not support Java. Support is only available for Linux. 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", - "stable,libtorch,windows,cuda9.2,cplusplus": - "Windows binaries do not support Java. Support is only available for Linux. Download here for C++ (Release version):
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-1.6.0%2Bcu92.zip

Download here for C++ (Debug version):
https://download.pytorch.org/libtorch/cu92/libtorch-win-shared-with-deps-debug-1.6.0%2Bcu92.zip", - "stable,libtorch,windows,cuda10.1,cplusplus": "Windows binaries do not support Java. Support is only available for Linux. Download here for C++ (Release version):
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-1.6.0%2Bcu101.zip

Download here for C++ (Debug version):
https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-debug-1.6.0%2Bcu101.zip",