From c8cf485425caba4928b3046a228094097b52b9de Mon Sep 17 00:00:00 2001 From: Faith Xu Date: Wed, 7 Jul 2021 18:39:12 -0700 Subject: [PATCH] [Website] updated pkg links for 1.8.1 (#8326) * updated pkg links * fix urls --- docs/how-to/install.md | 10 +++++++--- index.html | 7 ++++--- js/script.js | 43 +++++++++++++++++++++++++----------------- 3 files changed, 37 insertions(+), 23 deletions(-) diff --git a/docs/how-to/install.md b/docs/how-to/install.md index 46864244e8..62cca5d1db 100644 --- a/docs/how-to/install.md +++ b/docs/how-to/install.md @@ -39,6 +39,7 @@ The following build variants are available as officially supported packages. Oth |Android|[**com.microsoft.onnxruntime:onnxruntime-mobile**](https://search.maven.org/artifact/com.microsoft.onnxruntime/onnxruntime-mobile) || |iOS (C/C++)|CocoaPods: **onnxruntime-mobile-c**|| |Objective-C|CocoaPods: **onnxruntime-mobile-objc**|| +|React Native|[**onnxruntime-react-native**](https://www.npmjs.com/package/onnxruntime-react-native)|| |Node.js|[**onnxruntime-node**](https://www.npmjs.com/package/onnxruntime-node)|| |Web|[**onnxruntime-web**](https://www.npmjs.com/package/onnxruntime-web)|| @@ -61,6 +62,9 @@ by running `locale-gen en_US.UTF-8` and `update-locale LANG=en_US.UTF-8` ||Official build|Nightly build| |---|---|---| -|PyTorch (CUDA 10.2)|[**onnxruntime-training**](https://pypi.org/project/onnxruntime-training)|[onnxruntime_nightly_cu102](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_cu102.html)| -|PyTorch (CUDA 11.1)|[**onnxruntime_stable_cu111**](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_stable_cu111.html)|[onnxruntime_nightly_cu111](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_cu111.html)| -|[*Preview*] PyTorch (ROCm 4.2)|[**onnxruntime_stable_rocm42**](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_stable_rocm42.html)|[onnxruntime_nightly_rocm42](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_rocm42.html)| +|PyTorch 1.8.1 (CUDA 10.2)|[**onnxruntime-training**](https://pypi.org/project/onnxruntime-training)|[onnxruntime_nightly_torch181.cu102](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_torch181.cu102.html)| +|PyTorch 1.8.1 (CUDA 11.1)|[**onnxruntime_stable_torch181.cu111**](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_stable_torch181.cu111.html )|[onnxruntime_nightly_torch181.cu111](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_torch181.cu111.html)| +|PyTorch 1.9 (CUDA 10.2)|[**onnxruntime_stable_torch190.cu102**](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_stable_torch190.cu102.html)|[onnxruntime_nightly_torch190.cu102](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_torch190.cu102.html)| +|PyTorch 1.9 (CUDA 11.1)|[**onnxruntime_stable_torch190.cu111**](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_stable_torch190.cu111.html)|[onnxruntime_nightly_torch190.cu111](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_torch190.cu111.html)| +|[*Preview*] PyTorch 1.8.1 (ROCm 4.2)|[**onnxruntime_stable_torch181.rocm42**](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_stable_torch181.rocm42.html)|[onnxruntime_nightly_torch181.rocm42](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_torch181.rocm42.html)| +|[*Preview*] PyTorch 1.9 (ROCm 4.2)|[**onnxruntime_stable_torch190.rocm42**](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_stable_torch190.rocm42.html)|[onnxruntime_nightly_torch190.rocm42](https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_torch190.rocm42.html)| diff --git a/index.html b/index.html index 57fd89e28b..9c4b899299 100644 --- a/index.html +++ b/index.html @@ -313,12 +313,13 @@

API

-

API list contains two items

+

API list contains three items

-
PyTorch
-
C++
+
PyTorch 1.8.1
+
PyTorch 1.9
+
C++
diff --git a/js/script.js b/js/script.js index 8b5c71b64d..b680f62eac 100644 --- a/js/script.js +++ b/js/script.js @@ -21,7 +21,7 @@ var ot_opts = { // os: getAnchorSelectedOS() || getDefaultSelectedOS(), ot_os: 'ot_linux', ot_architecture: 'ot_X64', - ot_language: 'ot_PyTorch', + ot_language: 'ot_PyTorch18', ot_hardwareAcceleration: 'ot_CUDA10', }; @@ -534,21 +534,30 @@ function ot_buildMatcher() { var ot_validCombos = { //linux - "ot_linux,ot_PyTorch,ot_X64,ot_CUDA10": - "Stable: pip install onnxruntime-training

Nightly: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_cu102.html", + "ot_linux,ot_PyTorch18,ot_X64,ot_CUDA10": + "Stable: pip install onnxruntime-training

Nightly: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_torch181.cu102.html", - "ot_linux,ot_PyTorch,ot_X64,ot_CUDA11": - "Stable: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_stable_cu111.html

Nightly: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_cu111.html", + "ot_linux,ot_PyTorch18,ot_X64,ot_CUDA11": + "Stable: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_stable_torch181.cu111.html

Nightly: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_torch181.cu111.html", - "ot_linux,ot_PyTorch,ot_X64,ot_DefaultCPU": + "ot_linux,ot_PyTorch18,ot_X64,ot_DefaultCPU": "Follow sample notebook from here", - "ot_linux,ot_PyTorch,ot_X64,ot_AMD": - "Stable: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_stable_rocm42.html

Nightly: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_rocm42.html", + "ot_linux,ot_PyTorch18,ot_X64,ot_AMD": + "Stable: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_stable_torch181.rocm42.html

Nightly: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_torch181.rocm42.html", - "ot_linux,ot_PyTorch,ot_X64,ot_DNNL": + "ot_linux,ot_PyTorch18,ot_X64,ot_DNNL": "This combination of resources is not fully tested. It may be possible to build from source.", + "ot_linux,ot_PyTorch19,ot_X64,ot_CUDA10": + "Stable: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_stable_torch190.cu102.html

Nightly: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_torch190.cu102.html", + + "ot_linux,ot_PyTorch19,ot_X64,ot_CUDA11": + "Stable: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_stable_torch190.cu111.html

Nightly: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_torch190.cu111.html", + + "ot_linux,ot_PyTorch19,ot_X64,ot_AMD": + "Stable: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_stable_torch190.rocm42.html

Nightly: pip install onnxruntime-training -f https://onnxruntimepackages.z14.web.core.windows.net/onnxruntime_nightly_torch190.rocm42.html", + "ot_linux,ot_C++,ot_X64,ot_CUDA10": "This combination of resources is not fully tested. It may be possible to build from source.", @@ -556,10 +565,10 @@ var ot_validCombos = { "This combination of resources is not fully tested. It may be possible to build from source.", //windows - "ot_windows,ot_PyTorch,ot_X64,ot_CUDA10": + "ot_windows,ot_PyTorch18,ot_X64,ot_CUDA10": "This combination of resources is not fully tested. It may be possible to build from source.", - "ot_windows,ot_PyTorch,ot_X64,ot_DefaultCPU": + "ot_windows,ot_PyTorch18,ot_X64,ot_DefaultCPU": "This combination of resources is not fully tested. It may be possible to build from source.", "ot_windows,ot_C++,ot_X64,ot_DefaultCPU": @@ -569,7 +578,7 @@ var ot_validCombos = { "This combination of resources is not fully tested. It may be possible to build from source.", //mac - "ot_mac,ot_PyTorch,ot_X64,ot_DefaultCPU": + "ot_mac,ot_PyTorch18,ot_X64,ot_DefaultCPU": "This combination of resources is not fully tested. It may be possible to build from source.", "ot_mac,ot_C++,ot_X64,ot_DefaultCPU": @@ -601,7 +610,7 @@ function ot_commandMessage(key) { // //console.log('key- '+key); // var ot_object = { - // "ot_linux,ot_PyTorch,ot_X64,ot_CUDA10": + // "ot_linux,ot_PyTorch18,ot_X64,ot_CUDA10": // "Follow sample notebook from here", // "ot_linux,ot_TensorFlow,ot_X64,ot_CUDA10": @@ -888,16 +897,16 @@ var validCombos = { "npm install onnxruntime-web", "android,JS,ARM64,DefaultCPU": - "Follow build instructions from here", + "npm install onnxruntime-react-native", "android,JS,X64,DefaultCPU": - "Follow build instructions from here", + "npm install onnxruntime-react-native", "android,JS,X86,DefaultCPU": - "Follow build instructions from here", + "npm install onnxruntime-react-native", "ios,JS,ARM64,DefaultCPU": - "Follow build instructions from here", + "npm install onnxruntime-react-native", "windows,WinRT,X86,DefaultCPU": "Install Nuget package Microsoft.AI.MachineLearning",