From 2d89e7d1c564c7f744ab3342855bae6159313713 Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Fri, 29 Mar 2024 18:08:14 +0300
Subject: [PATCH 01/19] add accelerators to quick start table

---
 _includes/quick-start-module.js   |   4 +-
 _includes/quick_start_local.html  |  26 +++++--
 _sass/quick-start-module.scss     |   6 ++
 assets/quick-start-module.js      | 110 ++++++++++++++++++++++++++++--
 scripts/gen_quick_start_module.py |   6 +-
 5 files changed, 140 insertions(+), 12 deletions(-)

diff --git a/_includes/quick-start-module.js b/_includes/quick-start-module.js
index 5cc118a3b280..8ed19e9bf6b4 100644
--- a/_includes/quick-start-module.js
+++ b/_includes/quick-start-module.js
@@ -3,12 +3,14 @@ var supportedOperatingSystems = new Map([
   ['linux', 'linux'],
   ['mac', 'macos'],
   ['win', 'windows'],
+  ['linux', 'linux'],
 ]);
 
 var archInfoMap = new Map([
   ['cuda', {title: "CUDA", platforms: new Set(['linux', 'windows'])}],
   ['rocm', {title: "ROCm", platforms: new Set(['linux'])}],
-  ['accnone', {title: "CPU", platforms: new Set(['linux', 'macos', 'windows'])}]
+  ['accnone', {title: "CPU", platforms: new Set(['linux', 'macos', 'windows'])}],
+  ['intelgaudi', {title: "intelgaudi", platforms: new Set(['linux']) }]
 ]);
 
 let version_map={{ ACC ARCH MAP }}
diff --git a/_includes/quick_start_local.html b/_includes/quick_start_local.html
index d6273cfe5edc..fb3dd04a4013 100644
--- a/_includes/quick_start_local.html
+++ b/_includes/quick_start_local.html
@@ -87,18 +87,36 @@
       <div class="col-md-12 title-block mobile-heading">
         <div class="option-text">Compute Platform</div>
       </div>
-      <div class="col-md-3 option block version" id="cuda.x">
+      <div class="w20 option block version" id="cuda.x">
         <div class="option-text">CUDA 11.6</div>
       </div>
-      <div class="col-md-3 option block version" id="cuda.y">
+      <div class="w20 option block version" id="cuda.y">
         <div class="option-text">CUDA 11.7</div>
       </div>
-      <div class="col-md-3 option block version" id="rocm5.x">
+      <div class="w20 option block version" id="rocm5.x">
         <div class="option-text">ROCm 5.2</div>
       </div>
-      <div class="col-md-3 option block version" id="accnone">
+      <div class="w20 option block version" id="accnone">
         <div class="option-text">CPU</div>
       </div>
+      <div class="w20 option block version" id="intelgaudi">
+        <div class="main-menu main-menu-item">
+          <div id="dropdownMenuButton" data-toggle="resources-dropdown" class="resources-dropdown">
+            <a class="option-text resource-option" id="accelerator">
+              Accelerators
+            </a>
+            <img src="{{ site.baseurl }}/assets/images/filter-arrow.svg">
+            <div class="resources-dropdown-menu">
+              <a class="dropdown-item" onclick="chooseAccelerator('Intel Gaudi')">
+                <span class="dropdown-title">Intel Gaudi</span>
+              </a>
+              <a class="dropdown-item" onclick="chooseAccelerator('Huawei Ascend')">
+                <span class="dropdown-title">Huawei Ascend</span>
+              </a>
+            </div>
+          </div>
+        </div>
+      </div>
     </div>
     <div class="row">
       <div class="col-md-12 title-block command-mobile-heading">
diff --git a/_sass/quick-start-module.scss b/_sass/quick-start-module.scss
index 06d5500bd61f..35f824885121 100644
--- a/_sass/quick-start-module.scss
+++ b/_sass/quick-start-module.scss
@@ -135,6 +135,12 @@
     left: 0;
   }
 
+  .w20 {
+    width: 20%;
+    padding: 0 15px;
+    position: relative;
+  }
+
   #command {
     color: #4a4a4a;
     background-color: $white;
diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index 5b6f3c4f1e73..326de1576d31 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -3,12 +3,14 @@ var supportedOperatingSystems = new Map([
   ['linux', 'linux'],
   ['mac', 'macos'],
   ['win', 'windows'],
+  ['linux', 'linux'],
 ]);
 
 var archInfoMap = new Map([
-  ['cuda', {title: "CUDA", platforms: new Set(['linux', 'windows'])}],
-  ['rocm', {title: "ROCm", platforms: new Set(['linux'])}],
-  ['accnone', {title: "CPU", platforms: new Set(['linux', 'macos', 'windows'])}]
+  ['cuda', {title: "CUDA", platforms: new Set(['linux', 'windows']) }],
+  ['rocm', {title: "ROCm", platforms: new Set(['linux']) }],
+  ['accnone', {title: "CPU", platforms: new Set(['linux', 'macos', 'windows'])}],
+  ['intelgaudi', {title: "intelgaudi", platforms: new Set(['linux']) }]
 ]);
 
 let version_map={"nightly": {"accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "6.0"]}, "release": {"accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "5.7"]}}
@@ -34,6 +36,7 @@ var package = $(".package > .option");
 var language = $(".language > .option");
 var cuda = $(".cuda > .option");
 var ptbuild = $(".ptbuild > .option");
+var accelerator = null;
 
 os.on("click", function() {
   selectedOption(os, this, "os");
@@ -118,6 +121,12 @@ function disableUnsupportedPlatforms(os) {
   }
 }
 
+// Choose accelerator
+function chooseAccelerator(acceleratorName){
+  accelerator = acceleratorName;
+  document.getElementById('accelerator').innerHTML = accelerator;
+}
+
 // Change compute versions depending on build type
 function changeVersion(ptbuild) {
 
@@ -223,7 +232,7 @@ function buildMatcher() {
     "," +
     opts.os.toLowerCase() +
     "," +
-    opts.cuda.toLowerCase() +
+    (accelerator ? accelerator.toLowerCase().replace(' ', '') : opts.cuda.toLowerCase()) +
     "," +
     opts.language.toLowerCase()
   );
@@ -248,7 +257,98 @@ $("[data-toggle='cloud-dropdown']").on("click", function(e) {
 });
 
 function commandMessage(key) {
-  var object = {"preview,pip,linux,accnone,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,pip,linux,cuda.x,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118", "preview,pip,linux,cuda.y,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121", "preview,pip,linux,rocm5.x,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.0", "preview,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch-nightly -c nvidia", "preview,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch-nightly -c nvidia", "preview,conda,linux,rocm5.x,python": "<b>NOTE:</b> Conda packages are not currently available for ROCm, please use pip instead<br />", "preview,conda,linux,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch-nightly", "preview,libtorch,linux,accnone,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 />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>", "preview,libtorch,linux,cuda.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-shared-with-deps-latest.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>", "preview,libtorch,linux,cuda.y,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-latest.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>", "preview,libtorch,linux,rocm5.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-shared-with-deps-latest.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>", "preview,pip,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,pip,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,pip,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,pip,macos,accnone,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,conda,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly", "preview,conda,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly", "preview,conda,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly", "preview,conda,macos,accnone,python": "conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly", "preview,libtorch,macos,accnone,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>", "preview,libtorch,macos,cuda.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>", "preview,libtorch,macos,cuda.y,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>", "preview,libtorch,macos,rocm5.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>", "preview,pip,windows,accnone,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,pip,windows,cuda.x,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118", "preview,pip,windows,cuda.y,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121", "preview,pip,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows", "preview,conda,windows,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch-nightly -c nvidia", "preview,conda,windows,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch-nightly -c nvidia", "preview,conda,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows", "preview,conda,windows,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch-nightly", "preview,libtorch,windows,accnone,cplusplus": "Download here (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 />Download here (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>", "preview,libtorch,windows,cuda.x,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-latest.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-debug-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-debug-latest.zip</a>", "preview,libtorch,windows,cuda.y,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-latest.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-debug-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-debug-latest.zip</a>", "preview,libtorch,windows,rocm5.x,cplusplus": "<b>NOTE:</b> ROCm is not available on Windows", "stable,pip,linux,accnone,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu", "stable,pip,linux,cuda.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118", "stable,pip,linux,cuda.y,python": "pip3 install torch torchvision torchaudio", "stable,pip,linux,rocm5.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7", "stable,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia", "stable,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia", "stable,conda,linux,rocm5.x,python": "<b>NOTE:</b> Conda packages are not currently available for ROCm, please use pip instead<br />", "stable,conda,linux,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch", "stable,libtorch,linux,accnone,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-2.2.2%2Bcpu.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcpu.zip</a>", "stable,libtorch,linux,cuda.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-shared-with-deps-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-shared-with-deps-2.2.2%2Bcu118.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu118.zip</a>", "stable,libtorch,linux,cuda.y,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-shared-with-deps-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-shared-with-deps-2.2.2%2Bcu121.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu121.zip</a>", "stable,libtorch,linux,rocm5.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/rocm5.7/libtorch-shared-with-deps-2.2.2%2Brocm5.7.zip'>https://download.pytorch.org/libtorch/rocm5.7/libtorch-shared-with-deps-2.2.2%2Brocm5.7.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/rocm5.7/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Brocm5.7.zip'>https://download.pytorch.org/libtorch/rocm5.7/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Brocm5.7.zip</a>", "stable,pip,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install torch torchvision torchaudio", "stable,pip,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install torch torchvision torchaudio", "stable,pip,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />pip3 install torch torchvision torchaudio", "stable,pip,macos,accnone,python": "pip3 install torch torchvision torchaudio", "stable,conda,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch::pytorch torchvision torchaudio -c pytorch", "stable,conda,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch::pytorch torchvision torchaudio -c pytorch", "stable,conda,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />conda install pytorch::pytorch torchvision torchaudio -c pytorch", "stable,conda,macos,accnone,python": "conda install pytorch::pytorch torchvision torchaudio -c pytorch", "stable,libtorch,macos,accnone,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>", "stable,libtorch,macos,cuda.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>", "stable,libtorch,macos,cuda.y,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>", "stable,libtorch,macos,rocm5.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>", "stable,pip,windows,accnone,python": "pip3 install torch torchvision torchaudio", "stable,pip,windows,cuda.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118", "stable,pip,windows,cuda.y,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121", "stable,pip,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows", "stable,conda,windows,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia", "stable,conda,windows,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia", "stable,conda,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows", "stable,conda,windows,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch", "stable,libtorch,windows,accnone,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-2.2.2%2Bcpu.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-2.2.2%2Bcpu.zip</a>", "stable,libtorch,windows,cuda.x,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-2.2.2%2Bcu118.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu118.zip</a>", "stable,libtorch,windows,cuda.y,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-2.2.2%2Bcu121.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu121.zip</a>", "stable,libtorch,windows,rocm5.x,cplusplus": "<b>NOTE:</b> ROCm is not available on Windows"};
+  var object = {
+    "preview,pip,linux,accnone,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
+    "preview,pip,linux,cuda.x,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118",
+    "preview,pip,linux,cuda.y,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121",
+    "preview,pip,linux,rocm5.x,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.0",
+    "preview,pip,linux,intelgaudi,python": "wget https: //vault.habana.ai/artifactory/gaudi-pt-modules/1.15.0/479/pytorch/ubuntu2204/pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> tar xf pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> pip install *.whl",
+    "preview,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch-nightly -c nvidia",
+    "preview,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch-nightly -c nvidia",
+    "preview,conda,linux,rocm5.x,python": "<b>NOTE:</b> Conda packages are not currently available for ROCm, please use pip instead<br />",
+    "preview,conda,linux,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch-nightly",
+    "preview,conda,linux,intelgaudi,python": "<b>NOTE:</b> Conda packages are not currently available for Intel Gaudi, please use pip instead<br />",
+    "preview,libtorch,linux,accnone,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 />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>",
+    "preview,libtorch,linux,cuda.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-shared-with-deps-latest.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>",
+    "preview,libtorch,linux,cuda.y,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-latest.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>",
+    "preview,libtorch,linux,rocm5.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-shared-with-deps-latest.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>",
+    "preview,libtorch,linux,intelgaudi,cplusplus": "<b>NOTE:</b> LibTorch is currently available for Intel Gaudi, please use pip instead<br />",
+    "preview,pip,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
+    "preview,pip,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
+    "preview,pip,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
+    "preview,pip,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
+    "preview,pip,macos,accnone,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
+    "preview,pip,macos,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
+    "preview,conda,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly",
+    "preview,conda,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly",
+    "preview,conda,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly",
+    "preview,conda,macos,accnone,python": "conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly",
+    "preview,conda,macos,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
+    "preview,libtorch,macos,accnone,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>",
+    "preview,libtorch,macos,cuda.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>",
+    "preview,libtorch,macos,cuda.y,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>",
+    "preview,libtorch,macos,rocm5.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>",
+    "preview,libtorch,macos,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
+    "preview,pip,windows,accnone,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
+    "preview,pip,windows,cuda.x,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118",
+    "preview,pip,windows,cuda.y,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121",
+    "preview,pip,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows",
+    "preview,pip,windows,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
+    "preview,conda,windows,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch-nightly -c nvidia",
+    "preview,conda,windows,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch-nightly -c nvidia",
+    "preview,conda,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows",
+    "preview,conda,windows,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
+    "preview,conda,windows,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch-nightly",
+    "preview,libtorch,windows,accnone,cplusplus": "Download here (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 />Download here (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>",
+    "preview,libtorch,windows,cuda.x,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-latest.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-debug-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-debug-latest.zip</a>",
+    "preview,libtorch,windows,cuda.y,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-latest.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-debug-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-debug-latest.zip</a>",
+    "preview,libtorch,windows,rocm5.x,cplusplus": "<b>NOTE:</b> ROCm is not available on Windows",
+    "preview,libtorch,windows,intelgaudi,cplusplus": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
+    "stable,pip,linux,accnone,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu",
+    "stable,pip,linux,cuda.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118",
+    "stable,pip,linux,cuda.y,python": "pip3 install torch torchvision torchaudio",
+    "stable,pip,linux,rocm5.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7",
+    "stable,pip,linux,intelgaudi,python": "wget https: //vault.habana.ai/artifactory/gaudi-pt-modules/1.15.0/479/pytorch/ubuntu2204/pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> tar xf pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> pip install *.whl",
+    "stable,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia",
+    "stable,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia",
+    "stable,conda,linux,rocm5.x,python": "<b>NOTE:</b> Conda packages are not currently available for ROCm, please use pip instead<br />",
+    "stable,conda,linux,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch",
+    "stable,conda,linux,intelgaudi,python": "<b>NOTE:</b> Conda packages are not currently available for Intel Gaudi, please use pip instead<br />",
+    "stable,libtorch,linux,accnone,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-2.2.2%2Bcpu.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcpu.zip</a>",
+    "stable,libtorch,linux,cuda.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-shared-with-deps-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-shared-with-deps-2.2.2%2Bcu118.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu118.zip</a>",
+    "stable,libtorch,linux,cuda.y,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-shared-with-deps-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-shared-with-deps-2.2.2%2Bcu121.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu121.zip</a>",
+    "stable,libtorch,linux,rocm5.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/rocm5.7/libtorch-shared-with-deps-2.2.2%2Brocm5.7.zip'>https://download.pytorch.org/libtorch/rocm5.7/libtorch-shared-with-deps-2.2.2%2Brocm5.7.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/rocm5.7/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Brocm5.7.zip'>https://download.pytorch.org/libtorch/rocm5.7/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Brocm5.7.zip</a>",
+    "stable,pip,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install torch torchvision torchaudio",
+    "stable,pip,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install torch torchvision torchaudio",
+    "stable,pip,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />pip3 install torch torchvision torchaudio",
+    "stable,pip,macos,accnone,python": "pip3 install torch torchvision torchaudio",
+    "stable,pip,macos,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
+    "stable,conda,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch::pytorch torchvision torchaudio -c pytorch",
+    "stable,conda,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch::pytorch torchvision torchaudio -c pytorch",
+    "stable,conda,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />conda install pytorch::pytorch torchvision torchaudio -c pytorch",
+    "stable,conda,macos,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
+    "stable,conda,macos,accnone,python": "conda install pytorch::pytorch torchvision torchaudio -c pytorch",
+    "stable,libtorch,macos,accnone,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>",
+    "stable,libtorch,macos,cuda.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>",
+    "stable,libtorch,macos,cuda.y,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>",
+    "stable,libtorch,macos,rocm5.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>",
+    "stable,libtorch,macos,intelgaudi,cplusplus": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
+    "stable,pip,windows,accnone,python": "pip3 install torch torchvision torchaudio",
+    "stable,pip,windows,cuda.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118",
+    "stable,pip,windows,cuda.y,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121",
+    "stable,pip,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows",
+    "stable,pip,windows,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
+    "stable,conda,windows,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia",
+    "stable,conda,windows,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia",
+    "stable,conda,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows",
+    "stable,conda,windows,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
+    "stable,conda,windows,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch",
+    "stable,libtorch,windows,accnone,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-2.2.2%2Bcpu.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-2.2.2%2Bcpu.zip</a>",
+    "stable,libtorch,windows,cuda.x,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-2.2.2%2Bcu118.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu118.zip</a>",
+    "stable,libtorch,windows,cuda.y,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-2.2.2%2Bcu121.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu121.zip</a>",
+    "stable,libtorch,windows,rocm5.x,cplusplus": "<b>NOTE:</b> ROCm is not available on Windows",
+    "stable,libtorch,windows,intelgaudi,cplusplus": "<b>NOTE:</b> Intel Gaudi is not available on Windows"
+  }
 
   if (!object.hasOwnProperty(key)) {
     $("#command").html(
diff --git a/scripts/gen_quick_start_module.py b/scripts/gen_quick_start_module.py
index 22323b52ab42..905e3bab71d9 100755
--- a/scripts/gen_quick_start_module.py
+++ b/scripts/gen_quick_start_module.py
@@ -39,13 +39,15 @@ class OperatingSystem(Enum):
         "accnone": ("cpu", ""),
         "cuda.x": ("cuda", "11.8"),
         "cuda.y": ("cuda", "12.1"),
-        "rocm5.x": ("rocm", "5.7")
+        "rocm5.x": ("rocm", "5.7"),
+        "intelgaudi": ("Intel Gaudi", "")
         },
     "release": {
         "accnone": ("cpu", ""),
         "cuda.x": ("cuda", "11.8"),
         "cuda.y": ("cuda", "12.1"),
-        "rocm5.x": ("rocm", "5.7")
+        "rocm5.x": ("rocm", "5.7"),
+        "intelgaudi": ("Intel Gaudi", "")
         }
     }
 

From a1b7d4c377cc01b2cacb61251355b20c4a159f63 Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Tue, 2 Apr 2024 13:51:40 +0300
Subject: [PATCH 02/19] fix switching commands

---
 _includes/quick_start_local.html |  2 +-
 assets/quick-start-module.js     | 15 ++++++++++-----
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/_includes/quick_start_local.html b/_includes/quick_start_local.html
index fb3dd04a4013..a394f19482b0 100644
--- a/_includes/quick_start_local.html
+++ b/_includes/quick_start_local.html
@@ -99,7 +99,7 @@
       <div class="w20 option block version" id="accnone">
         <div class="option-text">CPU</div>
       </div>
-      <div class="w20 option block version" id="intelgaudi">
+      <div class="w20 option block version" id="accelerators">
         <div class="main-menu main-menu-item">
           <div id="dropdownMenuButton" data-toggle="resources-dropdown" class="resources-dropdown">
             <a class="option-text resource-option" id="accelerator">
diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index 326de1576d31..5e461f32d83c 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -10,7 +10,7 @@ var archInfoMap = new Map([
   ['cuda', {title: "CUDA", platforms: new Set(['linux', 'windows']) }],
   ['rocm', {title: "ROCm", platforms: new Set(['linux']) }],
   ['accnone', {title: "CPU", platforms: new Set(['linux', 'macos', 'windows'])}],
-  ['intelgaudi', {title: "intelgaudi", platforms: new Set(['linux']) }]
+  ['accelerators', {title: "accelerators", platforms: new Set(['linux'])}]
 ]);
 
 let version_map={"nightly": {"accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "6.0"]}, "release": {"accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "5.7"]}}
@@ -48,7 +48,10 @@ language.on("click", function() {
   selectedOption(language, this, "language");
 });
 cuda.on("click", function() {
-  selectedOption(cuda, this, "cuda");
+  if(this.id != 'accelerators') {
+    accelerator = null;
+    selectedOption(cuda, this, "cuda");
+  }
 });
 ptbuild.on("click", function() {
   selectedOption(ptbuild, this, "ptbuild")
@@ -125,20 +128,22 @@ function disableUnsupportedPlatforms(os) {
 function chooseAccelerator(acceleratorName){
   accelerator = acceleratorName;
   document.getElementById('accelerator').innerHTML = accelerator;
+  selectedOption(cuda, this, "cuda");
 }
 
 // Change compute versions depending on build type
 function changeVersion(ptbuild) {
-
   if(ptbuild == "preview")
     archMap = version_map.nightly
   else
-    archMap = version_map.release
+  archMap = version_map.release
 
   for (const [arch_key, info] of archInfoMap) {
     var elems = document.querySelectorAll('[id^="'+arch_key+'"]');
     for (var i=0; i < elems.length;i++) {
-      elems[i].children[0].textContent = info.title + " " + archMap[elems[i].id][1]
+      if (elems[i].id != 'accelerators'){
+        elems[i].children[0].textContent = info.title + " " + archMap[elems[i].id][1]
+      }
     }
   }
   var stable_element = document.getElementById("stable");

From a386fc306c99c4425f2d1cf3da214a52d617b6b2 Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Tue, 2 Apr 2024 14:06:21 +0300
Subject: [PATCH 03/19] add Intel Xeon

---
 _includes/quick_start_local.html |  7 +++++--
 assets/quick-start-module.js     | 27 +++++++++++++++++++++++----
 2 files changed, 28 insertions(+), 6 deletions(-)

diff --git a/_includes/quick_start_local.html b/_includes/quick_start_local.html
index a394f19482b0..4f7c1df8ceca 100644
--- a/_includes/quick_start_local.html
+++ b/_includes/quick_start_local.html
@@ -107,11 +107,14 @@
             </a>
             <img src="{{ site.baseurl }}/assets/images/filter-arrow.svg">
             <div class="resources-dropdown-menu">
+              <a class="dropdown-item" onclick="chooseAccelerator('Huawei Ascend')">
+                <span class="dropdown-title">Huawei Ascend</span>
+              </a>
               <a class="dropdown-item" onclick="chooseAccelerator('Intel Gaudi')">
                 <span class="dropdown-title">Intel Gaudi</span>
               </a>
-              <a class="dropdown-item" onclick="chooseAccelerator('Huawei Ascend')">
-                <span class="dropdown-title">Huawei Ascend</span>
+              <a class="dropdown-item" onclick="chooseAccelerator('Intel Xeon')">
+                <span class="dropdown-title">Intel Xeon</span>
               </a>
             </div>
           </div>
diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index 5e461f32d83c..975c0fc693e1 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -267,92 +267,111 @@ function commandMessage(key) {
     "preview,pip,linux,cuda.x,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118",
     "preview,pip,linux,cuda.y,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121",
     "preview,pip,linux,rocm5.x,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.0",
-    "preview,pip,linux,intelgaudi,python": "wget https: //vault.habana.ai/artifactory/gaudi-pt-modules/1.15.0/479/pytorch/ubuntu2204/pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> tar xf pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> pip install *.whl",
+    "preview,pip,linux,intelgaudi,python": "wget https://vault.habana.ai/artifactory/gaudi-pt-modules/1.15.0/479/pytorch/ubuntu2204/pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> tar xf pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> pip install *.whl",
+    "preview,pip,linux,intelxeon,python": "python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> python - m pip install intel- extension -for-pytorch",
     "preview,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch-nightly -c nvidia",
     "preview,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch-nightly -c nvidia",
     "preview,conda,linux,rocm5.x,python": "<b>NOTE:</b> Conda packages are not currently available for ROCm, please use pip instead<br />",
     "preview,conda,linux,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch-nightly",
     "preview,conda,linux,intelgaudi,python": "<b>NOTE:</b> Conda packages are not currently available for Intel Gaudi, please use pip instead<br />",
+    "preview,conda,linux,intelxeon,python": "<b>NOTE:</b> Conda packages are not currently available for Intel Xeon, please use pip instead<br />",
     "preview,libtorch,linux,accnone,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 />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>",
     "preview,libtorch,linux,cuda.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-shared-with-deps-latest.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>",
     "preview,libtorch,linux,cuda.y,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-latest.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>",
     "preview,libtorch,linux,rocm5.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-shared-with-deps-latest.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>",
     "preview,libtorch,linux,intelgaudi,cplusplus": "<b>NOTE:</b> LibTorch is currently available for Intel Gaudi, please use pip instead<br />",
+    "preview,libtorch,linux,intelxeon,cplusplus": "<b>NOTE:</b> LibTorch is currently available for Intel Xeon, please use pip instead<br />",
     "preview,pip,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
     "preview,pip,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
     "preview,pip,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
     "preview,pip,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
     "preview,pip,macos,accnone,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
     "preview,pip,macos,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
+    "preview,pip,macos,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on MacOS",
     "preview,conda,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly",
     "preview,conda,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly",
     "preview,conda,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly",
     "preview,conda,macos,accnone,python": "conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly",
     "preview,conda,macos,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
+    "preview,conda,macos,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on MacOS",
     "preview,libtorch,macos,accnone,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>",
     "preview,libtorch,macos,cuda.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>",
     "preview,libtorch,macos,cuda.y,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>",
     "preview,libtorch,macos,rocm5.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>",
     "preview,libtorch,macos,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
+    "preview,libtorch,macos,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on MacOS",
     "preview,pip,windows,accnone,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
     "preview,pip,windows,cuda.x,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118",
     "preview,pip,windows,cuda.y,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121",
     "preview,pip,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows",
     "preview,pip,windows,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
+    "preview,pip,windows,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on Windows",
     "preview,conda,windows,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch-nightly -c nvidia",
     "preview,conda,windows,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch-nightly -c nvidia",
     "preview,conda,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows",
     "preview,conda,windows,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
+    "preview,conda,windows,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on Windows",
     "preview,conda,windows,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch-nightly",
     "preview,libtorch,windows,accnone,cplusplus": "Download here (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 />Download here (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>",
     "preview,libtorch,windows,cuda.x,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-latest.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-debug-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-debug-latest.zip</a>",
     "preview,libtorch,windows,cuda.y,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-latest.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-debug-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-debug-latest.zip</a>",
     "preview,libtorch,windows,rocm5.x,cplusplus": "<b>NOTE:</b> ROCm is not available on Windows",
     "preview,libtorch,windows,intelgaudi,cplusplus": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
+    "preview,libtorch,windows,intelxeon,cplusplus": "<b>NOTE:</b> Intel Xeon is not available on Windows",
     "stable,pip,linux,accnone,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu",
     "stable,pip,linux,cuda.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118",
     "stable,pip,linux,cuda.y,python": "pip3 install torch torchvision torchaudio",
     "stable,pip,linux,rocm5.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7",
-    "stable,pip,linux,intelgaudi,python": "wget https: //vault.habana.ai/artifactory/gaudi-pt-modules/1.15.0/479/pytorch/ubuntu2204/pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> tar xf pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> pip install *.whl",
+    "stable,pip,linux,intelgaudi,python": "wget https://vault.habana.ai/artifactory/gaudi-pt-modules/1.15.0/479/pytorch/ubuntu2204/pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> tar xf pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> pip install *.whl",
+    "stable,pip,linux,intelxeon,python": "python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> python - m pip install intel- extension -for-pytorch",
     "stable,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia",
     "stable,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia",
     "stable,conda,linux,rocm5.x,python": "<b>NOTE:</b> Conda packages are not currently available for ROCm, please use pip instead<br />",
     "stable,conda,linux,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch",
     "stable,conda,linux,intelgaudi,python": "<b>NOTE:</b> Conda packages are not currently available for Intel Gaudi, please use pip instead<br />",
+    "stable,conda,linux,intelxeon,python": "<b>NOTE:</b> Conda packages are not currently available for Intel Xeon, please use pip instead<br />",
     "stable,libtorch,linux,accnone,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-2.2.2%2Bcpu.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcpu.zip</a>",
     "stable,libtorch,linux,cuda.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-shared-with-deps-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-shared-with-deps-2.2.2%2Bcu118.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu118.zip</a>",
     "stable,libtorch,linux,cuda.y,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-shared-with-deps-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-shared-with-deps-2.2.2%2Bcu121.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu121.zip</a>",
     "stable,libtorch,linux,rocm5.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/rocm5.7/libtorch-shared-with-deps-2.2.2%2Brocm5.7.zip'>https://download.pytorch.org/libtorch/rocm5.7/libtorch-shared-with-deps-2.2.2%2Brocm5.7.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/rocm5.7/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Brocm5.7.zip'>https://download.pytorch.org/libtorch/rocm5.7/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Brocm5.7.zip</a>",
+    "stable,libtorch,linux,intelgaudi,cplusplus": "<b>NOTE:</b> LibTorch is currently available for Intel Gaudi, please use pip instead<br />",
+    "stable,libtorch,linux,intelxeon,cplusplus": "<b>NOTE:</b> LibTorch is currently available for Intel Xeon, please use pip instead<br />",
     "stable,pip,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install torch torchvision torchaudio",
     "stable,pip,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install torch torchvision torchaudio",
     "stable,pip,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />pip3 install torch torchvision torchaudio",
     "stable,pip,macos,accnone,python": "pip3 install torch torchvision torchaudio",
     "stable,pip,macos,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
+    "stable,pip,macos,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on MacOS",
     "stable,conda,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch::pytorch torchvision torchaudio -c pytorch",
     "stable,conda,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch::pytorch torchvision torchaudio -c pytorch",
     "stable,conda,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />conda install pytorch::pytorch torchvision torchaudio -c pytorch",
     "stable,conda,macos,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
+    "stable,conda,macos,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on MacOS",
     "stable,conda,macos,accnone,python": "conda install pytorch::pytorch torchvision torchaudio -c pytorch",
     "stable,libtorch,macos,accnone,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>",
     "stable,libtorch,macos,cuda.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>",
     "stable,libtorch,macos,cuda.y,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>",
     "stable,libtorch,macos,rocm5.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>",
     "stable,libtorch,macos,intelgaudi,cplusplus": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
+    "stable,libtorch,macos,intelxeon,cplusplus": "<b>NOTE:</b> Intel Xeon is not available on MacOS",
     "stable,pip,windows,accnone,python": "pip3 install torch torchvision torchaudio",
     "stable,pip,windows,cuda.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118",
     "stable,pip,windows,cuda.y,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121",
     "stable,pip,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows",
     "stable,pip,windows,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
+    "stable,pip,windows,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on Windows",
+    "stable,conda,windows,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch",
     "stable,conda,windows,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia",
     "stable,conda,windows,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia",
     "stable,conda,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows",
     "stable,conda,windows,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
-    "stable,conda,windows,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch",
+    "stable,conda,windows,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on Windows",
     "stable,libtorch,windows,accnone,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-2.2.2%2Bcpu.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-2.2.2%2Bcpu.zip</a>",
     "stable,libtorch,windows,cuda.x,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-2.2.2%2Bcu118.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu118.zip</a>",
     "stable,libtorch,windows,cuda.y,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-2.2.2%2Bcu121.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu121.zip</a>",
     "stable,libtorch,windows,rocm5.x,cplusplus": "<b>NOTE:</b> ROCm is not available on Windows",
-    "stable,libtorch,windows,intelgaudi,cplusplus": "<b>NOTE:</b> Intel Gaudi is not available on Windows"
+    "stable,libtorch,windows,intelgaudi,cplusplus": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
+    "stable,libtorch,windows,intelxeon,cplusplus": "<b>NOTE:</b> Intel Xeon is not available on Windows"
   }
 
   if (!object.hasOwnProperty(key)) {

From 6ca1f8fece7e17b84e3ff860dfc6fb3391b5bd50 Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Tue, 2 Apr 2024 14:10:33 +0300
Subject: [PATCH 04/19] remove not used changes

---
 _includes/quick-start-module.js   | 2 +-
 scripts/gen_quick_start_module.py | 6 ++----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/_includes/quick-start-module.js b/_includes/quick-start-module.js
index 8ed19e9bf6b4..6fb06a495d1d 100644
--- a/_includes/quick-start-module.js
+++ b/_includes/quick-start-module.js
@@ -10,7 +10,7 @@ var archInfoMap = new Map([
   ['cuda', {title: "CUDA", platforms: new Set(['linux', 'windows'])}],
   ['rocm', {title: "ROCm", platforms: new Set(['linux'])}],
   ['accnone', {title: "CPU", platforms: new Set(['linux', 'macos', 'windows'])}],
-  ['intelgaudi', {title: "intelgaudi", platforms: new Set(['linux']) }]
+  ['accelerators', {title: "accelerators", platforms: new Set(['linux']) }]
 ]);
 
 let version_map={{ ACC ARCH MAP }}
diff --git a/scripts/gen_quick_start_module.py b/scripts/gen_quick_start_module.py
index 905e3bab71d9..22323b52ab42 100755
--- a/scripts/gen_quick_start_module.py
+++ b/scripts/gen_quick_start_module.py
@@ -39,15 +39,13 @@ class OperatingSystem(Enum):
         "accnone": ("cpu", ""),
         "cuda.x": ("cuda", "11.8"),
         "cuda.y": ("cuda", "12.1"),
-        "rocm5.x": ("rocm", "5.7"),
-        "intelgaudi": ("Intel Gaudi", "")
+        "rocm5.x": ("rocm", "5.7")
         },
     "release": {
         "accnone": ("cpu", ""),
         "cuda.x": ("cuda", "11.8"),
         "cuda.y": ("cuda", "12.1"),
-        "rocm5.x": ("rocm", "5.7"),
-        "intelgaudi": ("Intel Gaudi", "")
+        "rocm5.x": ("rocm", "5.7")
         }
     }
 

From 1eb326a2d804417066e0f4a7cf8c6b7e31e51238 Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Tue, 2 Apr 2024 14:13:08 +0300
Subject: [PATCH 05/19] remove unused changes

---
 _includes/quick-start-module.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/_includes/quick-start-module.js b/_includes/quick-start-module.js
index 6fb06a495d1d..5cc118a3b280 100644
--- a/_includes/quick-start-module.js
+++ b/_includes/quick-start-module.js
@@ -3,14 +3,12 @@ var supportedOperatingSystems = new Map([
   ['linux', 'linux'],
   ['mac', 'macos'],
   ['win', 'windows'],
-  ['linux', 'linux'],
 ]);
 
 var archInfoMap = new Map([
   ['cuda', {title: "CUDA", platforms: new Set(['linux', 'windows'])}],
   ['rocm', {title: "ROCm", platforms: new Set(['linux'])}],
-  ['accnone', {title: "CPU", platforms: new Set(['linux', 'macos', 'windows'])}],
-  ['accelerators', {title: "accelerators", platforms: new Set(['linux']) }]
+  ['accnone', {title: "CPU", platforms: new Set(['linux', 'macos', 'windows'])}]
 ]);
 
 let version_map={{ ACC ARCH MAP }}

From bb859f2c496c47074f5a66cd1ef2c967db1fcec1 Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Tue, 2 Apr 2024 15:56:25 +0300
Subject: [PATCH 06/19] fix styling

---
 _includes/quick_start_local.html | 2 +-
 _sass/quick-start-module.scss    | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/_includes/quick_start_local.html b/_includes/quick_start_local.html
index 4f7c1df8ceca..68ffe5e10a63 100644
--- a/_includes/quick_start_local.html
+++ b/_includes/quick_start_local.html
@@ -105,7 +105,7 @@
             <a class="option-text resource-option" id="accelerator">
               Accelerators
             </a>
-            <img src="{{ site.baseurl }}/assets/images/filter-arrow.svg">
+            <img class="acc-arrow" src="{{ site.baseurl }}/assets/images/filter-arrow.svg">
             <div class="resources-dropdown-menu">
               <a class="dropdown-item" onclick="chooseAccelerator('Huawei Ascend')">
                 <span class="dropdown-title">Huawei Ascend</span>
diff --git a/_sass/quick-start-module.scss b/_sass/quick-start-module.scss
index 35f824885121..bdc4be8df0a4 100644
--- a/_sass/quick-start-module.scss
+++ b/_sass/quick-start-module.scss
@@ -141,6 +141,13 @@
     position: relative;
   }
 
+  .acc-arrow {
+    float: right;
+    position: absolute;
+    margin-top: 8px;
+    margin-left: 5px;
+  }
+
   #command {
     color: #4a4a4a;
     background-color: $white;

From ad732dc35315f91b654be461ca00b6fe5d7913ac Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Thu, 4 Apr 2024 13:06:07 +0300
Subject: [PATCH 07/19] disable accelerator unsupported on OS

---
 _includes/quick_start_local.html |  6 +++---
 assets/quick-start-module.js     | 21 +++++++++++++++------
 2 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/_includes/quick_start_local.html b/_includes/quick_start_local.html
index 68ffe5e10a63..73e9f2939b65 100644
--- a/_includes/quick_start_local.html
+++ b/_includes/quick_start_local.html
@@ -107,13 +107,13 @@
             </a>
             <img class="acc-arrow" src="{{ site.baseurl }}/assets/images/filter-arrow.svg">
             <div class="resources-dropdown-menu">
-              <a class="dropdown-item" onclick="chooseAccelerator('Huawei Ascend')">
+              <a class="dropdown-item" id="huaweiascend" onclick="chooseAccelerator('Huawei Ascend')">
                 <span class="dropdown-title">Huawei Ascend</span>
               </a>
-              <a class="dropdown-item" onclick="chooseAccelerator('Intel Gaudi')">
+              <a class="dropdown-item" id="intelgaudi" onclick="chooseAccelerator('Intel Gaudi')">
                 <span class="dropdown-title">Intel Gaudi</span>
               </a>
-              <a class="dropdown-item" onclick="chooseAccelerator('Intel Xeon')">
+              <a class="dropdown-item" id="intelxeon" onclick="chooseAccelerator('Intel Xeon')">
                 <span class="dropdown-title">Intel Xeon</span>
               </a>
             </div>
diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index 975c0fc693e1..b2fdc8d7a684 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -3,17 +3,18 @@ var supportedOperatingSystems = new Map([
   ['linux', 'linux'],
   ['mac', 'macos'],
   ['win', 'windows'],
-  ['linux', 'linux'],
 ]);
 
 var archInfoMap = new Map([
   ['cuda', {title: "CUDA", platforms: new Set(['linux', 'windows']) }],
   ['rocm', {title: "ROCm", platforms: new Set(['linux']) }],
   ['accnone', {title: "CPU", platforms: new Set(['linux', 'macos', 'windows'])}],
-  ['accelerators', {title: "accelerators", platforms: new Set(['linux'])}]
+  ['huaweiascend', {title: "Huawei Ascend", platforms: new Set(['linux'])}],
+  ['intelgaudi', {title: "Intel Gaudi", platforms: new Set(['linux'])}],
+  ['intelxeon', {title: "Intel Xeon", platforms: new Set(['linux'])}],
 ]);
 
-let version_map={"nightly": {"accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "6.0"]}, "release": {"accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "5.7"]}}
+let version_map={"nightly": {"accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "6.0"]}, "release": {"accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "5.7"], "huaweiascend": ["huaweiascend", ""], "intelgaudi": ["intelgaudi", ""], "intelxeon": ["intelxeon", ""]}}
 let stable_version="Stable (2.2.2)";
 
 var default_selected_os = getAnchorSelectedOS() || getDefaultSelectedOS();
@@ -122,13 +123,23 @@ function disableUnsupportedPlatforms(os) {
       elems[i].style.textDecoration = supported ? "" : "line-through";
     }
   }
+  if (accelerator) {
+    disableUnsupportedAccelerator(os);
+  }
+}
+
+// Disable accelerator not supported on OS
+function disableUnsupportedAccelerator(os) {
+  let supported = archInfoMap.get(accelerator.toLowerCase().replace(" ", "")).platforms.has(os);
+  document.getElementById("accelerators").style.textDecoration = supported ? "" : "line-through";
 }
 
 // Choose accelerator
 function chooseAccelerator(acceleratorName){
   accelerator = acceleratorName;
-  document.getElementById('accelerator').innerHTML = accelerator;
+  document.getElementById("accelerator").innerHTML = accelerator;
   selectedOption(cuda, this, "cuda");
+  disableUnsupportedAccelerator(opts.os);
 }
 
 // Change compute versions depending on build type
@@ -141,9 +152,7 @@ function changeVersion(ptbuild) {
   for (const [arch_key, info] of archInfoMap) {
     var elems = document.querySelectorAll('[id^="'+arch_key+'"]');
     for (var i=0; i < elems.length;i++) {
-      if (elems[i].id != 'accelerators'){
         elems[i].children[0].textContent = info.title + " " + archMap[elems[i].id][1]
-      }
     }
   }
   var stable_element = document.getElementById("stable");

From cd56f91c1ced380980fc081717151ee350f1825d Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Thu, 4 Apr 2024 14:35:50 +0300
Subject: [PATCH 08/19] update commands

---
 assets/quick-start-module.js | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index b2fdc8d7a684..03d1b8aedd6b 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -276,8 +276,8 @@ function commandMessage(key) {
     "preview,pip,linux,cuda.x,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118",
     "preview,pip,linux,cuda.y,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121",
     "preview,pip,linux,rocm5.x,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.0",
-    "preview,pip,linux,intelgaudi,python": "wget https://vault.habana.ai/artifactory/gaudi-pt-modules/1.15.0/479/pytorch/ubuntu2204/pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> tar xf pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> pip install *.whl",
-    "preview,pip,linux,intelxeon,python": "python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> python - m pip install intel- extension -for-pytorch",
+    "preview,pip,linux,intelgaudi,python": "<b>NOTE:</b> Preview (Nightly) is not currently available for Intel Gaudi, please use stable instead<br />",
+    "preview,pip,linux,intelxeon,python": "<b>NOTE:</b> Preview (Nightly) is not currently available for Intel Xeon, please use stable instead<br />",
     "preview,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch-nightly -c nvidia",
     "preview,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch-nightly -c nvidia",
     "preview,conda,linux,rocm5.x,python": "<b>NOTE:</b> Conda packages are not currently available for ROCm, please use pip instead<br />",
@@ -331,8 +331,7 @@ function commandMessage(key) {
     "stable,pip,linux,cuda.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118",
     "stable,pip,linux,cuda.y,python": "pip3 install torch torchvision torchaudio",
     "stable,pip,linux,rocm5.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7",
-    "stable,pip,linux,intelgaudi,python": "wget https://vault.habana.ai/artifactory/gaudi-pt-modules/1.15.0/479/pytorch/ubuntu2204/pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> tar xf pytorch_modules-v2.2.0_1.15.0_479.tgz <br /> pip install *.whl",
-    "stable,pip,linux,intelxeon,python": "python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> python - m pip install intel- extension -for-pytorch",
+    "stable,pip,linux,intelxeon,python": "python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> python -m pip install intel-extension-for-pytorch",
     "stable,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia",
     "stable,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia",
     "stable,conda,linux,rocm5.x,python": "<b>NOTE:</b> Conda packages are not currently available for ROCm, please use pip instead<br />",

From 15f262b2f8d95c1211c0ceade11ce9c511a15377 Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Thu, 4 Apr 2024 15:48:10 +0300
Subject: [PATCH 09/19] update Intel Xeon command

---
 assets/quick-start-module.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index 03d1b8aedd6b..6da0c13fd555 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -331,7 +331,7 @@ function commandMessage(key) {
     "stable,pip,linux,cuda.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118",
     "stable,pip,linux,cuda.y,python": "pip3 install torch torchvision torchaudio",
     "stable,pip,linux,rocm5.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7",
-    "stable,pip,linux,intelxeon,python": "python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> python -m pip install intel-extension-for-pytorch",
+    "stable,pip,linux,intelxeon,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> pip3 install intel-extension-for-pytorch",
     "stable,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia",
     "stable,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia",
     "stable,conda,linux,rocm5.x,python": "<b>NOTE:</b> Conda packages are not currently available for ROCm, please use pip instead<br />",

From 05e14516789bdc624e39168347cbeb2d70176580 Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Mon, 8 Apr 2024 15:28:14 +0300
Subject: [PATCH 10/19] Intel Extension for PyTorch

---
 _includes/quick_start_local.html |  4 ++--
 _sass/quick-start-module.scss    | 20 ++++++++++++++++----
 assets/quick-start-module.js     | 12 +++++++-----
 3 files changed, 25 insertions(+), 11 deletions(-)

diff --git a/_includes/quick_start_local.html b/_includes/quick_start_local.html
index 73e9f2939b65..a0916e9619bc 100644
--- a/_includes/quick_start_local.html
+++ b/_includes/quick_start_local.html
@@ -99,7 +99,7 @@
       <div class="w20 option block version" id="accnone">
         <div class="option-text">CPU</div>
       </div>
-      <div class="w20 option block version" id="accelerators">
+      <div class="w20 flex1 option block version" id="accelerators">
         <div class="main-menu main-menu-item">
           <div id="dropdownMenuButton" data-toggle="resources-dropdown" class="resources-dropdown">
             <a class="option-text resource-option" id="accelerator">
@@ -114,7 +114,7 @@
                 <span class="dropdown-title">Intel Gaudi</span>
               </a>
               <a class="dropdown-item" id="intelxeon" onclick="chooseAccelerator('Intel Xeon')">
-                <span class="dropdown-title">Intel Xeon</span>
+                <span class="dropdown-title">Intel Extension for PyTorch</span>
               </a>
             </div>
           </div>
diff --git a/_sass/quick-start-module.scss b/_sass/quick-start-module.scss
index bdc4be8df0a4..c25b2948981c 100644
--- a/_sass/quick-start-module.scss
+++ b/_sass/quick-start-module.scss
@@ -135,10 +135,17 @@
     left: 0;
   }
 
+  .row.cuda {
+    justify-content: space-evenly;
+  }
+
   .w20 {
-    width: 20%;
     padding: 0 15px;
-    position: relative;
+    flex: 1;
+  }
+
+  .flex1{
+    flex: 2;
   }
 
   .acc-arrow {
@@ -148,6 +155,11 @@
     margin-left: 5px;
   }
 
+  .resources-dropdown-menu {
+    width: 300px;
+    left: 500px;
+  }
+
   #command {
     color: #4a4a4a;
     background-color: $white;
@@ -354,7 +366,7 @@
   color: $not_quite_black;
 
   #microsoft-azure {
-    p{
+    p {
       color: $not_quite_black;
       margin: 0;
       padding: 0;
@@ -383,7 +395,7 @@
 
     li {
       margin-top: 0;
-      position:relative;
+      position: relative;
       padding-left: rem(80px);
 
       @include small-desktop {
diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index 6da0c13fd555..db7df282050b 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -11,10 +11,10 @@ var archInfoMap = new Map([
   ['accnone', {title: "CPU", platforms: new Set(['linux', 'macos', 'windows'])}],
   ['huaweiascend', {title: "Huawei Ascend", platforms: new Set(['linux'])}],
   ['intelgaudi', {title: "Intel Gaudi", platforms: new Set(['linux'])}],
-  ['intelxeon', {title: "Intel Xeon", platforms: new Set(['linux'])}],
+  ['intelxeon', {title: "Intel Extension for PyTorch", platforms: new Set(['linux'])}],
 ]);
 
-let version_map={"nightly": {"accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "6.0"]}, "release": {"accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "5.7"], "huaweiascend": ["huaweiascend", ""], "intelgaudi": ["intelgaudi", ""], "intelxeon": ["intelxeon", ""]}}
+let version_map = { "nightly": { "accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "6.0"] }, "release": { "accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "5.7"], "huaweiascend": ["huaweiascend", ""], "intelgaudi": ["intelgaudi", ""], "intelxeon": ["intelxeon", ""]}}
 let stable_version="Stable (2.2.2)";
 
 var default_selected_os = getAnchorSelectedOS() || getDefaultSelectedOS();
@@ -130,7 +130,9 @@ function disableUnsupportedPlatforms(os) {
 
 // Disable accelerator not supported on OS
 function disableUnsupportedAccelerator(os) {
-  let supported = archInfoMap.get(accelerator.toLowerCase().replace(" ", "")).platforms.has(os);
+  console.log(accelerator.toLowerCase().replace(" ", ""));
+  console.log(archInfoMap);
+  let supported = archInfoMap.get(accelerator.toLowerCase().replaceAll(" ", "")).platforms.has(os);
   document.getElementById("accelerators").style.textDecoration = supported ? "" : "line-through";
 }
 
@@ -246,7 +248,7 @@ function buildMatcher() {
     "," +
     opts.os.toLowerCase() +
     "," +
-    (accelerator ? accelerator.toLowerCase().replace(' ', '') : opts.cuda.toLowerCase()) +
+    (accelerator ? accelerator.toLowerCase().replaceAll(' ', '') : opts.cuda.toLowerCase()) +
     "," +
     opts.language.toLowerCase()
   );
@@ -331,7 +333,7 @@ function commandMessage(key) {
     "stable,pip,linux,cuda.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118",
     "stable,pip,linux,cuda.y,python": "pip3 install torch torchvision torchaudio",
     "stable,pip,linux,rocm5.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7",
-    "stable,pip,linux,intelxeon,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> pip3 install intel-extension-for-pytorch",
+    "stable,pip,linux,intelxeon,python": "# CPU <br /> pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> pip3 install intel-extension-for-pytorch <br /><br /> # CPU <br /> pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/gpu <br /> pip3 install intel-extension-for-pytorch",
     "stable,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia",
     "stable,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia",
     "stable,conda,linux,rocm5.x,python": "<b>NOTE:</b> Conda packages are not currently available for ROCm, please use pip instead<br />",

From 84f4f49f0172db7ff2b7d46f599d3c50b0b99203 Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Mon, 8 Apr 2024 15:47:02 +0300
Subject: [PATCH 11/19] Intel Extension for PyTorch2

---
 _includes/quick_start_local.html |  6 ++---
 assets/quick-start-module.js     | 40 ++++++++++++++++----------------
 2 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/_includes/quick_start_local.html b/_includes/quick_start_local.html
index a0916e9619bc..641d856e9f61 100644
--- a/_includes/quick_start_local.html
+++ b/_includes/quick_start_local.html
@@ -110,12 +110,12 @@
               <a class="dropdown-item" id="huaweiascend" onclick="chooseAccelerator('Huawei Ascend')">
                 <span class="dropdown-title">Huawei Ascend</span>
               </a>
+              <a class="dropdown-item" id="intelextensionforpytorch" onclick="chooseAccelerator('Intel Extension for PyTorch')">
+                <span class="dropdown-title">Intel Extension for PyTorch</span>
+              </a>
               <a class="dropdown-item" id="intelgaudi" onclick="chooseAccelerator('Intel Gaudi')">
                 <span class="dropdown-title">Intel Gaudi</span>
               </a>
-              <a class="dropdown-item" id="intelxeon" onclick="chooseAccelerator('Intel Xeon')">
-                <span class="dropdown-title">Intel Extension for PyTorch</span>
-              </a>
             </div>
           </div>
         </div>
diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index db7df282050b..c8212c7e4852 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -11,10 +11,10 @@ var archInfoMap = new Map([
   ['accnone', {title: "CPU", platforms: new Set(['linux', 'macos', 'windows'])}],
   ['huaweiascend', {title: "Huawei Ascend", platforms: new Set(['linux'])}],
   ['intelgaudi', {title: "Intel Gaudi", platforms: new Set(['linux'])}],
-  ['intelxeon', {title: "Intel Extension for PyTorch", platforms: new Set(['linux'])}],
+  ['intelextensionforpytorch', {title: "Intel Extension for PyTorch", platforms: new Set(['linux'])}],
 ]);
 
-let version_map = { "nightly": { "accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "6.0"] }, "release": { "accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "5.7"], "huaweiascend": ["huaweiascend", ""], "intelgaudi": ["intelgaudi", ""], "intelxeon": ["intelxeon", ""]}}
+let version_map = { "nightly": { "accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "6.0"] }, "release": { "accnone": ["cpu", ""], "cuda.x": ["cuda", "11.8"], "cuda.y": ["cuda", "12.1"], "rocm5.x": ["rocm", "5.7"], "huaweiascend": ["huaweiascend", ""], "intelgaudi": ["intelgaudi", ""], "intelextensionforpytorch": ["intelextensionforpytorch", ""]}}
 let stable_version="Stable (2.2.2)";
 
 var default_selected_os = getAnchorSelectedOS() || getDefaultSelectedOS();
@@ -279,109 +279,109 @@ function commandMessage(key) {
     "preview,pip,linux,cuda.y,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121",
     "preview,pip,linux,rocm5.x,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.0",
     "preview,pip,linux,intelgaudi,python": "<b>NOTE:</b> Preview (Nightly) is not currently available for Intel Gaudi, please use stable instead<br />",
-    "preview,pip,linux,intelxeon,python": "<b>NOTE:</b> Preview (Nightly) is not currently available for Intel Xeon, please use stable instead<br />",
+    "preview,pip,linux,intelextensionforpytorch,python": "<b>NOTE:</b> Preview (Nightly) is not currently available for Intel Extension for PyTorch, please use stable instead<br />",
     "preview,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch-nightly -c nvidia",
     "preview,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch-nightly -c nvidia",
     "preview,conda,linux,rocm5.x,python": "<b>NOTE:</b> Conda packages are not currently available for ROCm, please use pip instead<br />",
     "preview,conda,linux,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch-nightly",
     "preview,conda,linux,intelgaudi,python": "<b>NOTE:</b> Conda packages are not currently available for Intel Gaudi, please use pip instead<br />",
-    "preview,conda,linux,intelxeon,python": "<b>NOTE:</b> Conda packages are not currently available for Intel Xeon, please use pip instead<br />",
+    "preview,conda,linux,intelextensionforpytorch,python": "<b>NOTE:</b> Conda packages are not currently available for Intel Extension for PyTorch, please use pip instead<br />",
     "preview,libtorch,linux,accnone,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 />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>",
     "preview,libtorch,linux,cuda.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-shared-with-deps-latest.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>",
     "preview,libtorch,linux,cuda.y,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-shared-with-deps-latest.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>",
     "preview,libtorch,linux,rocm5.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-shared-with-deps-latest.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/rocm6.0/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>",
     "preview,libtorch,linux,intelgaudi,cplusplus": "<b>NOTE:</b> LibTorch is currently available for Intel Gaudi, please use pip instead<br />",
-    "preview,libtorch,linux,intelxeon,cplusplus": "<b>NOTE:</b> LibTorch is currently available for Intel Xeon, please use pip instead<br />",
+    "preview,libtorch,linux,intelextensionforpytorch,cplusplus": "<b>NOTE:</b> LibTorch is currently available for Intel Extension for PyTorch, please use pip instead<br />",
     "preview,pip,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
     "preview,pip,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
     "preview,pip,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
     "preview,pip,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
     "preview,pip,macos,accnone,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
     "preview,pip,macos,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
-    "preview,pip,macos,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on MacOS",
+    "preview,pip,macos,intelextensionforpytorch,python": "<b>NOTE:</b> Intel Extension for PyTorch is not available on MacOS",
     "preview,conda,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly",
     "preview,conda,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly",
     "preview,conda,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly",
     "preview,conda,macos,accnone,python": "conda install pytorch-nightly::pytorch torchvision torchaudio -c pytorch-nightly",
     "preview,conda,macos,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
-    "preview,conda,macos,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on MacOS",
+    "preview,conda,macos,intelextensionforpytorch,python": "<b>NOTE:</b> Intel Extension for PyTorch is not available on MacOS",
     "preview,libtorch,macos,accnone,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>",
     "preview,libtorch,macos,cuda.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>",
     "preview,libtorch,macos,cuda.y,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>",
     "preview,libtorch,macos,rocm5.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-x86_64-latest.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip'>https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip</a>",
     "preview,libtorch,macos,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
-    "preview,libtorch,macos,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on MacOS",
+    "preview,libtorch,macos,intelextensionforpytorch,python": "<b>NOTE:</b> Intel Extension for PyTorch is not available on MacOS",
     "preview,pip,windows,accnone,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
     "preview,pip,windows,cuda.x,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118",
     "preview,pip,windows,cuda.y,python": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121",
     "preview,pip,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows",
     "preview,pip,windows,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
-    "preview,pip,windows,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on Windows",
+    "preview,pip,windows,intelextensionforpytorch,python": "<b>NOTE:</b> Intel Extension for PyTorch is not available on Windows",
     "preview,conda,windows,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch-nightly -c nvidia",
     "preview,conda,windows,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch-nightly -c nvidia",
     "preview,conda,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows",
     "preview,conda,windows,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
-    "preview,conda,windows,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on Windows",
+    "preview,conda,windows,intelextensionforpytorch,python": "<b>NOTE:</b> Intel Extension for PyTorch is not available on Windows",
     "preview,conda,windows,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch-nightly",
     "preview,libtorch,windows,accnone,cplusplus": "Download here (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 />Download here (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>",
     "preview,libtorch,windows,cuda.x,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-latest.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-debug-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu118/libtorch-win-shared-with-deps-debug-latest.zip</a>",
     "preview,libtorch,windows,cuda.y,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-latest.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-debug-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu121/libtorch-win-shared-with-deps-debug-latest.zip</a>",
     "preview,libtorch,windows,rocm5.x,cplusplus": "<b>NOTE:</b> ROCm is not available on Windows",
     "preview,libtorch,windows,intelgaudi,cplusplus": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
-    "preview,libtorch,windows,intelxeon,cplusplus": "<b>NOTE:</b> Intel Xeon is not available on Windows",
+    "preview,libtorch,windows,intelextensionforpytorch,cplusplus": "<b>NOTE:</b> Intel Extension for PyTorch is not available on Windows",
     "stable,pip,linux,accnone,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu",
     "stable,pip,linux,cuda.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118",
     "stable,pip,linux,cuda.y,python": "pip3 install torch torchvision torchaudio",
     "stable,pip,linux,rocm5.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7",
-    "stable,pip,linux,intelxeon,python": "# CPU <br /> pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> pip3 install intel-extension-for-pytorch <br /><br /> # CPU <br /> pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/gpu <br /> pip3 install intel-extension-for-pytorch",
+    "stable,pip,linux,intelextensionforpytorch,python": "# CPU <br /> pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> pip3 install intel-extension-for-pytorch <br /><br /> # GPU <br /> pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> pip3 install intel-extension-for-pytorch",
     "stable,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia",
     "stable,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia",
     "stable,conda,linux,rocm5.x,python": "<b>NOTE:</b> Conda packages are not currently available for ROCm, please use pip instead<br />",
     "stable,conda,linux,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch",
     "stable,conda,linux,intelgaudi,python": "<b>NOTE:</b> Conda packages are not currently available for Intel Gaudi, please use pip instead<br />",
-    "stable,conda,linux,intelxeon,python": "<b>NOTE:</b> Conda packages are not currently available for Intel Xeon, please use pip instead<br />",
+    "stable,conda,linux,intelextensionforpytorch,python": "<b>NOTE:</b> Conda packages are not currently available for Intel Extension for PyTorch, please use pip instead<br />",
     "stable,libtorch,linux,accnone,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-2.2.2%2Bcpu.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcpu.zip</a>",
     "stable,libtorch,linux,cuda.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-shared-with-deps-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-shared-with-deps-2.2.2%2Bcu118.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu118.zip</a>",
     "stable,libtorch,linux,cuda.y,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-shared-with-deps-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-shared-with-deps-2.2.2%2Bcu121.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Bcu121.zip</a>",
     "stable,libtorch,linux,rocm5.x,cplusplus": "Download here (Pre-cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/rocm5.7/libtorch-shared-with-deps-2.2.2%2Brocm5.7.zip'>https://download.pytorch.org/libtorch/rocm5.7/libtorch-shared-with-deps-2.2.2%2Brocm5.7.zip</a><br />Download here (cxx11 ABI):<br /><a href='https://download.pytorch.org/libtorch/rocm5.7/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Brocm5.7.zip'>https://download.pytorch.org/libtorch/rocm5.7/libtorch-cxx11-abi-shared-with-deps-2.2.2%2Brocm5.7.zip</a>",
     "stable,libtorch,linux,intelgaudi,cplusplus": "<b>NOTE:</b> LibTorch is currently available for Intel Gaudi, please use pip instead<br />",
-    "stable,libtorch,linux,intelxeon,cplusplus": "<b>NOTE:</b> LibTorch is currently available for Intel Xeon, please use pip instead<br />",
+    "stable,libtorch,linux,intelextensionforpytorch,cplusplus": "<b>NOTE:</b> LibTorch is currently available for Intel Extension for PyTorch, please use pip instead<br />",
     "stable,pip,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install torch torchvision torchaudio",
     "stable,pip,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />pip3 install torch torchvision torchaudio",
     "stable,pip,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />pip3 install torch torchvision torchaudio",
     "stable,pip,macos,accnone,python": "pip3 install torch torchvision torchaudio",
     "stable,pip,macos,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
-    "stable,pip,macos,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on MacOS",
+    "stable,pip,macos,intelextensionforpytorch,python": "<b>NOTE:</b> Intel Extension for PyTorch is not available on MacOS",
     "stable,conda,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch::pytorch torchvision torchaudio -c pytorch",
     "stable,conda,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package<br />conda install pytorch::pytorch torchvision torchaudio -c pytorch",
     "stable,conda,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package<br />conda install pytorch::pytorch torchvision torchaudio -c pytorch",
     "stable,conda,macos,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
-    "stable,conda,macos,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on MacOS",
+    "stable,conda,macos,intelextensionforpytorch,python": "<b>NOTE:</b> Intel Extension for PyTorch is not available on MacOS",
     "stable,conda,macos,accnone,python": "conda install pytorch::pytorch torchvision torchaudio -c pytorch",
     "stable,libtorch,macos,accnone,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>",
     "stable,libtorch,macos,cuda.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>",
     "stable,libtorch,macos,cuda.y,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>",
     "stable,libtorch,macos,rocm5.x,cplusplus": "Download x86 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.2.2.zip</a><br />Download arm64 libtorch here (ROCm and CUDA are not supported):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.2.zip</a>",
     "stable,libtorch,macos,intelgaudi,cplusplus": "<b>NOTE:</b> Intel Gaudi is not available on MacOS",
-    "stable,libtorch,macos,intelxeon,cplusplus": "<b>NOTE:</b> Intel Xeon is not available on MacOS",
+    "stable,libtorch,macos,intelextensionforpytorch,cplusplus": "<b>NOTE:</b> Intel Extension for PyTorch is not available on MacOS",
     "stable,pip,windows,accnone,python": "pip3 install torch torchvision torchaudio",
     "stable,pip,windows,cuda.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118",
     "stable,pip,windows,cuda.y,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121",
     "stable,pip,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows",
     "stable,pip,windows,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
-    "stable,pip,windows,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on Windows",
+    "stable,pip,windows,intelextensionforpytorch,python": "<b>NOTE:</b> Intel Extension for PyTorch is not available on Windows",
     "stable,conda,windows,accnone,python": "conda install pytorch torchvision torchaudio cpuonly -c pytorch",
     "stable,conda,windows,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia",
     "stable,conda,windows,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia",
     "stable,conda,windows,rocm5.x,python": "<b>NOTE:</b> ROCm is not available on Windows",
     "stable,conda,windows,intelgaudi,python": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
-    "stable,conda,windows,intelxeon,python": "<b>NOTE:</b> Intel Xeon is not available on Windows",
+    "stable,conda,windows,intelextensionforpytorch,python": "<b>NOTE:</b> Intel Extension for PyTorch is not available on Windows",
     "stable,libtorch,windows,accnone,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-2.2.2%2Bcpu.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-2.2.2%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-2.2.2%2Bcpu.zip</a>",
     "stable,libtorch,windows,cuda.x,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-2.2.2%2Bcu118.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu118.zip'>https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu118.zip</a>",
     "stable,libtorch,windows,cuda.y,cplusplus": "Download here (Release version):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-2.2.2%2Bcu121.zip</a><br />Download here (Debug version):<br /><a href='https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu121.zip'>https://download.pytorch.org/libtorch/cu121/libtorch-win-shared-with-deps-debug-2.2.2%2Bcu121.zip</a>",
     "stable,libtorch,windows,rocm5.x,cplusplus": "<b>NOTE:</b> ROCm is not available on Windows",
     "stable,libtorch,windows,intelgaudi,cplusplus": "<b>NOTE:</b> Intel Gaudi is not available on Windows",
-    "stable,libtorch,windows,intelxeon,cplusplus": "<b>NOTE:</b> Intel Xeon is not available on Windows"
+    "stable,libtorch,windows,intelextensionforpytorch,cplusplus": "<b>NOTE:</b> Intel Extension for PyTorch is not available on Windows"
   }
 
   if (!object.hasOwnProperty(key)) {

From cadb3d50e4fc2d80d00bbaa0a172aef89aeddb39 Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Mon, 8 Apr 2024 16:21:37 +0300
Subject: [PATCH 12/19] fix styling

---
 _includes/quick_start_local.html | 4 ++--
 _sass/quick-start-module.scss    | 2 +-
 assets/quick-start-module.js     | 6 ++++--
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/_includes/quick_start_local.html b/_includes/quick_start_local.html
index 641d856e9f61..c2b0aa71b0cb 100644
--- a/_includes/quick_start_local.html
+++ b/_includes/quick_start_local.html
@@ -100,8 +100,8 @@
         <div class="option-text">CPU</div>
       </div>
       <div class="w20 flex1 option block version" id="accelerators">
-        <div class="main-menu main-menu-item">
-          <div id="dropdownMenuButton" data-toggle="resources-dropdown" class="resources-dropdown">
+        <div data-toggle="resources-dropdown" class="main-menu main-menu-item">
+          <div class="resources-dropdown">
             <a class="option-text resource-option" id="accelerator">
               Accelerators
             </a>
diff --git a/_sass/quick-start-module.scss b/_sass/quick-start-module.scss
index c25b2948981c..b510c02c09b9 100644
--- a/_sass/quick-start-module.scss
+++ b/_sass/quick-start-module.scss
@@ -157,7 +157,7 @@
 
   .resources-dropdown-menu {
     width: 300px;
-    left: 500px;
+    left: 400px;
   }
 
   #command {
diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index c8212c7e4852..e49e4f91feda 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -130,8 +130,6 @@ function disableUnsupportedPlatforms(os) {
 
 // Disable accelerator not supported on OS
 function disableUnsupportedAccelerator(os) {
-  console.log(accelerator.toLowerCase().replace(" ", ""));
-  console.log(archInfoMap);
   let supported = archInfoMap.get(accelerator.toLowerCase().replaceAll(" ", "")).platforms.has(os);
   document.getElementById("accelerators").style.textDecoration = supported ? "" : "line-through";
 }
@@ -140,6 +138,7 @@ function disableUnsupportedAccelerator(os) {
 function chooseAccelerator(acceleratorName){
   accelerator = acceleratorName;
   document.getElementById("accelerator").innerHTML = accelerator;
+  document.getElementById("accelerators").addClass("selected");
   selectedOption(cuda, this, "cuda");
   disableUnsupportedAccelerator(opts.os);
 }
@@ -180,6 +179,9 @@ function changeAccNoneName(osname) {
 function selectedOption(option, selection, category) {
   $(option).removeClass("selected");
   $(selection).addClass("selected");
+  if (!accelerator) {
+    document.getElementById("accelerators").removeClass("selected");
+  }
   opts[category] = selection.id;
   if (category === "pm") {
     var elements = document.getElementsByClassName("language")[0].children;

From 318af79c0497501f766f7f0107e7a8bbdb5c69e1 Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Mon, 8 Apr 2024 16:32:31 +0300
Subject: [PATCH 13/19] update styling

---
 assets/quick-start-module.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index e49e4f91feda..2d5f705fd864 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -138,7 +138,7 @@ function disableUnsupportedAccelerator(os) {
 function chooseAccelerator(acceleratorName){
   accelerator = acceleratorName;
   document.getElementById("accelerator").innerHTML = accelerator;
-  document.getElementById("accelerators").addClass("selected");
+  document.getElementById("accelerators").classList.addClass("selected");
   selectedOption(cuda, this, "cuda");
   disableUnsupportedAccelerator(opts.os);
 }
@@ -180,7 +180,7 @@ function selectedOption(option, selection, category) {
   $(option).removeClass("selected");
   $(selection).addClass("selected");
   if (!accelerator) {
-    document.getElementById("accelerators").removeClass("selected");
+    document.getElementById("accelerators").classList.removeClass("selected");
   }
   opts[category] = selection.id;
   if (category === "pm") {

From 2e5e17f10e76cea8b5f3b4600b1635c710859eab Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Tue, 9 Apr 2024 12:57:02 +0300
Subject: [PATCH 14/19] fix styling

---
 assets/quick-start-module.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index 2d5f705fd864..84562fd2cd79 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -138,7 +138,6 @@ function disableUnsupportedAccelerator(os) {
 function chooseAccelerator(acceleratorName){
   accelerator = acceleratorName;
   document.getElementById("accelerator").innerHTML = accelerator;
-  document.getElementById("accelerators").classList.addClass("selected");
   selectedOption(cuda, this, "cuda");
   disableUnsupportedAccelerator(opts.os);
 }
@@ -180,7 +179,9 @@ function selectedOption(option, selection, category) {
   $(option).removeClass("selected");
   $(selection).addClass("selected");
   if (!accelerator) {
-    document.getElementById("accelerators").classList.removeClass("selected");
+    $('#accelerators').removeClass("selected");
+  } else {
+    $('#accelerators').addClass("selected");
   }
   opts[category] = selection.id;
   if (category === "pm") {

From 54c9644d3c00fb993ca88684ccf29485f6ac3297 Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Wed, 10 Apr 2024 12:46:47 +0300
Subject: [PATCH 15/19] update IPEX GPU commands

---
 assets/quick-start-module.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index 84562fd2cd79..e2e5069d1223 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -336,7 +336,7 @@ function commandMessage(key) {
     "stable,pip,linux,cuda.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118",
     "stable,pip,linux,cuda.y,python": "pip3 install torch torchvision torchaudio",
     "stable,pip,linux,rocm5.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7",
-    "stable,pip,linux,intelextensionforpytorch,python": "# CPU <br /> pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> pip3 install intel-extension-for-pytorch <br /><br /> # GPU <br /> pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> pip3 install intel-extension-for-pytorch",
+    "stable,pip,linux,intelextensionforpytorch,python": "# CPU <br /> pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> pip3 install intel-extension-for-pytorch <br /><br /> # GPU (latest supported PyTorch version is 2.1) <br /> pip3 install torch==2.1.0.post0 torchvision==0.16.0.post0 torchaudio==2.1.0.post0 intel-extension-for-pytorch==2.1.20+xpu oneccl_bind_pt==2.1.200+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/",
     "stable,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia",
     "stable,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia",
     "stable,conda,linux,rocm5.x,python": "<b>NOTE:</b> Conda packages are not currently available for ROCm, please use pip instead<br />",

From 631cbd002401fb034804bb9bac4e54d27b3a869d Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Wed, 10 Apr 2024 13:40:48 +0300
Subject: [PATCH 16/19] add previous versions

---
 _get_started/previous-versions.md | 6 ++++++
 assets/quick-start-module.js      | 1 +
 2 files changed, 7 insertions(+)

diff --git a/_get_started/previous-versions.md b/_get_started/previous-versions.md
index 5af27c9d1d25..d5900aea2748 100644
--- a/_get_started/previous-versions.md
+++ b/_get_started/previous-versions.md
@@ -101,6 +101,10 @@ pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https
 pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/cu121
 # CPU only
 pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/cpu
+# Intel Gaudi
+wget https: //vault.habana.ai/artifactory/gaudi-pt-modules/1.15.0/479/pytorch/ubuntu2204/pytorch_modules-v2.2.0_1.15.0_479.tgz
+tar xf pytorch_modules-v2.2.0_1.15.0_479.tgz
+pip install *.whl
 ```
 
 ### v2.1.2
@@ -230,6 +234,8 @@ pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 --index-url https
 pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cu121
 # CPU only
 pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cpu
+# GPU - Intel Extension for PyTorch
+pip3 install torch==2.1.0.post0 torchvision==0.16.0.post0 torchaudio==2.1.0.post0 intel-extension-for-pytorch==2.1.20+xpu oneccl_bind_pt==2.1.200+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/
 ```
 
 ### v2.0.1
diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index e2e5069d1223..aead6e8fc52c 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -336,6 +336,7 @@ function commandMessage(key) {
     "stable,pip,linux,cuda.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118",
     "stable,pip,linux,cuda.y,python": "pip3 install torch torchvision torchaudio",
     "stable,pip,linux,rocm5.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7",
+    "stable,pip,linux,intelgaudi,python": "# Follow instructions at this URL: <a href='https://docs.habana.ai/en/latest/'>https://docs.habana.ai/en/latest/</a>",
     "stable,pip,linux,intelextensionforpytorch,python": "# CPU <br /> pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> pip3 install intel-extension-for-pytorch <br /><br /> # GPU (latest supported PyTorch version is 2.1) <br /> pip3 install torch==2.1.0.post0 torchvision==0.16.0.post0 torchaudio==2.1.0.post0 intel-extension-for-pytorch==2.1.20+xpu oneccl_bind_pt==2.1.200+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/",
     "stable,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia",
     "stable,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia",

From 1a372be15e4f58a572722fdc8fc68d19afcc362a Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Wed, 10 Apr 2024 16:02:25 +0300
Subject: [PATCH 17/19] update commands

---
 assets/quick-start-module.js | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index aead6e8fc52c..b6e07b986458 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -70,7 +70,6 @@ $(function() {
   }
 });
 
-
 // determine os (mac, linux, windows) based on user's platform
 function getDefaultSelectedOS() {
   var platform = navigator.platform.toLowerCase();
@@ -159,8 +158,6 @@ function changeVersion(ptbuild) {
   stable_element.children[0].textContent = stable_version;
 }
 
-
-
 // Change accnone name depending on OS type
 function changeAccNoneName(osname) {
   var accnone_element = document.getElementById("accnone");
@@ -336,8 +333,8 @@ function commandMessage(key) {
     "stable,pip,linux,cuda.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118",
     "stable,pip,linux,cuda.y,python": "pip3 install torch torchvision torchaudio",
     "stable,pip,linux,rocm5.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7",
-    "stable,pip,linux,intelgaudi,python": "# Follow instructions at this URL: <a href='https://docs.habana.ai/en/latest/'>https://docs.habana.ai/en/latest/</a>",
-    "stable,pip,linux,intelextensionforpytorch,python": "# CPU <br /> pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> pip3 install intel-extension-for-pytorch <br /><br /> # GPU (latest supported PyTorch version is 2.1) <br /> pip3 install torch==2.1.0.post0 torchvision==0.16.0.post0 torchaudio==2.1.0.post0 intel-extension-for-pytorch==2.1.20+xpu oneccl_bind_pt==2.1.200+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/",
+    "stable,pip,linux,intelgaudi,python": "<b>NOTE:</b> PyTorch 2.2 is not yet supported. For installation commands please refer to <a href='" + document.location.origin + "/get-started/previous-versions/#linux-and-windows-3'>previous versions</a> of PyTorch and <a href='https://docs.habana.ai/en/latest/'>Intel Gaudi documentation</a>.",
+    "stable,pip,linux,intelextensionforpytorch,python": "# CPU <br /> pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> pip3 install intel-extension-for-pytorch <br /><br /> # GPU <br /> <b>NOTE:</b> PyTorch 2.2 is not yet supported. <br /> For installation command please refer to <a href='" + document.location.origin + "/get-started/previous-versions/#linux-and-windows-9'>previous versions</a> of PyTorch.",
     "stable,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia",
     "stable,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia",
     "stable,conda,linux,rocm5.x,python": "<b>NOTE:</b> Conda packages are not currently available for ROCm, please use pip instead<br />",

From d21d81c7d551e069787773c95b2dd3010df7562b Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Thu, 11 Apr 2024 10:18:06 +0300
Subject: [PATCH 18/19] fix formatting

---
 assets/quick-start-module.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index b6e07b986458..472074ea4713 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -146,12 +146,12 @@ function changeVersion(ptbuild) {
   if(ptbuild == "preview")
     archMap = version_map.nightly
   else
-  archMap = version_map.release
+    archMap = version_map.release
 
   for (const [arch_key, info] of archInfoMap) {
     var elems = document.querySelectorAll('[id^="'+arch_key+'"]');
     for (var i=0; i < elems.length;i++) {
-        elems[i].children[0].textContent = info.title + " " + archMap[elems[i].id][1]
+      elems[i].children[0].textContent = info.title + " " + archMap[elems[i].id][1]
     }
   }
   var stable_element = document.getElementById("stable");

From 04fec52837e69deebbc3ae691d5cd64021f24894 Mon Sep 17 00:00:00 2001
From: aradys <aradys@habana.ai>
Date: Thu, 25 Apr 2024 12:23:14 +0300
Subject: [PATCH 19/19] update command

---
 assets/quick-start-module.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js
index 2b285a857b2b..7c6c99c20ba5 100644
--- a/assets/quick-start-module.js
+++ b/assets/quick-start-module.js
@@ -333,8 +333,8 @@ function commandMessage(key) {
     "stable,pip,linux,cuda.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118",
     "stable,pip,linux,cuda.y,python": "pip3 install torch torchvision torchaudio",
     "stable,pip,linux,rocm5.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.0",
-    "stable,pip,linux,intelgaudi,python": "<b>NOTE:</b> PyTorch 2.2 is not yet supported. For installation commands please refer to <a href='" + document.location.origin + "/get-started/previous-versions/#linux-and-windows-3'>previous versions</a> of PyTorch and <a href='https://docs.habana.ai/en/latest/'>Intel Gaudi documentation</a>.",
-    "stable,pip,linux,intelextensionforpytorch,python": "# CPU <br /> pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> pip3 install intel-extension-for-pytorch <br /><br /> # GPU <br /> <b>NOTE:</b> PyTorch 2.2 is not yet supported. <br /> For installation command please refer to <a href='" + document.location.origin + "/get-started/previous-versions/#linux-and-windows-9'>previous versions</a> of PyTorch.",
+    "stable,pip,linux,intelgaudi,python": "<b>NOTE:</b> Newest PyTorch version is not yet supported. For installation commands please refer to <a href='" + document.location.origin + "/get-started/previous-versions/#linux-and-windows-3'>previous versions</a> of PyTorch and <a href='https://docs.habana.ai/en/latest/'>Intel Gaudi documentation</a>.",
+    "stable,pip,linux,intelextensionforpytorch,python": "# CPU <br /> pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu <br /> pip3 install intel-extension-for-pytorch <br /><br /> # GPU <br /> <b>NOTE:</b> Newest PyTorch version is not yet supported. <br /> For installation command please refer to <a href='" + document.location.origin + "/get-started/previous-versions/#linux-and-windows-9'>previous versions</a> of PyTorch.",
     "stable,conda,linux,cuda.x,python": "conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia",
     "stable,conda,linux,cuda.y,python": "conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia",
     "stable,conda,linux,rocm5.x,python": "<b>NOTE:</b> Conda packages are not currently available for ROCm, please use pip instead<br />",