From 19464305a88029deadf18ae2e6e3ccc6e0300537 Mon Sep 17 00:00:00 2001 From: ymrohit Date: Mon, 11 May 2026 23:20:23 +0100 Subject: [PATCH] docs: include torchaudio in stable install commands --- _get_started/installation/mac.md | 2 +- _includes/quick_start_local.html | 16 +++++++++------- assets/quick-start-module.js | 3 +-- published_versions.json | 30 +++++++++++++++--------------- scripts/gen_quick_start_module.py | 11 ++++++++++- 5 files changed, 36 insertions(+), 26 deletions(-) diff --git a/_get_started/installation/mac.md b/_get_started/installation/mac.md index d3803a1ee278..1b0a71b59eb4 100644 --- a/_get_started/installation/mac.md +++ b/_get_started/installation/mac.md @@ -39,7 +39,7 @@ To install PyTorch via pip, use the following command, depending on your Python ```bash # Python 3.x -pip3 install torch torchvision +pip3 install torch torchvision torchaudio ``` ## Verification diff --git a/_includes/quick_start_local.html b/_includes/quick_start_local.html index 81bd69fbf1d4..c827b438e619 100644 --- a/_includes/quick_start_local.html +++ b/_includes/quick_start_local.html @@ -4,7 +4,9 @@ install previous versions of PyTorch. Note that LibTorch is only available for C++.

-

NOTE: Latest PyTorch requires Python 3.9 or later.

+

NOTE: Latest Stable PyTorch requires Python 3.10 or later.

+ +

When upgrading an existing environment, install any PyTorch domain packages you use, such as torchvision and torchaudio, in the same command to keep package versions compatible.

@@ -34,7 +36,7 @@
PyTorch Build
-
Stable (1.13.0)
+
Stable (2.11.0)
Preview (Nightly)
@@ -84,16 +86,16 @@
Compute Platform
-
CUDA 11.8
+
CUDA 12.6
-
CUDA 12.1
+
CUDA 12.8
-
CUDA 12.4
+
CUDA 13.0
-
ROCm 5.2
+
ROCm 7.2
CPU
@@ -104,7 +106,7 @@
Run this Command:
-
pip install torch torchvision
+
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126
diff --git a/assets/quick-start-module.js b/assets/quick-start-module.js index 9207ca37bc13..08fb9960fb7d 100644 --- a/assets/quick-start-module.js +++ b/assets/quick-start-module.js @@ -267,7 +267,7 @@ $("[data-toggle='cloud-dropdown']").on("click", function(e) { }); function commandMessage(key) { - var object = {"preview,pip,linux,accnone,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,pip,linux,cuda.x,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu126", "preview,pip,linux,cuda.y,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu130", "preview,pip,linux,cuda.z,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu132", "preview,pip,linux,rocm5.x,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/rocm7.2", "preview,libtorch,linux,accnone,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-shared-with-deps-latest.zip", "preview,libtorch,linux,cuda.x,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/cu126/libtorch-shared-with-deps-latest.zip", "preview,libtorch,linux,cuda.y,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/cu130/libtorch-shared-with-deps-latest.zip", "preview,libtorch,linux,cuda.z,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/cu132/libtorch-shared-with-deps-latest.zip", "preview,libtorch,linux,rocm5.x,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/rocm7.2/libtorch-shared-with-deps-latest.zip", "preview,pip,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package
pip3 install --pre torch torchvision --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
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,pip,macos,cuda.z,python": "# CUDA is not available on MacOS, please use default package
pip3 install --pre torch torchvision --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
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,pip,macos,accnone,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,libtorch,macos,accnone,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip", "preview,libtorch,macos,cuda.x,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip", "preview,libtorch,macos,cuda.y,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip", "preview,libtorch,macos,cuda.z,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip", "preview,libtorch,macos,rocm5.x,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip", "preview,pip,windows,accnone,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,pip,windows,cuda.x,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu126", "preview,pip,windows,cuda.y,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu130", "preview,pip,windows,cuda.z,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu132", "preview,pip,windows,rocm5.x,python": "NOTE: ROCm is not available on Windows", "preview,libtorch,windows,accnone,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-win-shared-with-deps-latest.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-win-shared-with-deps-debug-latest.zip", "preview,libtorch,windows,cuda.x,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/nightly/cu126/libtorch-win-shared-with-deps-latest.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/nightly/cu126/libtorch-win-shared-with-deps-debug-latest.zip", "preview,libtorch,windows,cuda.y,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/nightly/cu130/libtorch-win-shared-with-deps-latest.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/nightly/cu130/libtorch-win-shared-with-deps-debug-latest.zip", "preview,libtorch,windows,cuda.z,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/nightly/cu132/libtorch-win-shared-with-deps-latest.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/nightly/cu132/libtorch-win-shared-with-deps-debug-latest.zip", "preview,libtorch,windows,rocm5.x,cplusplus": "NOTE: ROCm is not available on Windows", "stable,pip,linux,accnone,python": "pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu", "stable,pip,linux,cuda.x,python": "pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu126", "stable,pip,linux,cuda.y,python": "pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu128", "stable,pip,linux,cuda.z,python": "pip3 install torch torchvision", "stable,pip,linux,rocm5.x,python": "pip3 install torch torchvision --index-url https://download.pytorch.org/whl/rocm7.2", "stable,libtorch,linux,accnone,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-2.11.0%2Bcpu.zip", "stable,libtorch,linux,cuda.x,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cu126/libtorch-shared-with-deps-2.11.0%2Bcu126.zip", "stable,libtorch,linux,cuda.y,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cu128/libtorch-shared-with-deps-2.11.0%2Bcu128.zip", "stable,libtorch,linux,cuda.z,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cu130/libtorch-shared-with-deps-2.11.0%2Bcu130.zip", "stable,libtorch,linux,rocm5.x,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/rocm7.2/libtorch-shared-with-deps-2.11.0%2Brocm7.2.zip", "stable,pip,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package
pip3 install torch torchvision", "stable,pip,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package
pip3 install torch torchvision", "stable,pip,macos,cuda.z,python": "# CUDA is not available on MacOS, please use default package
pip3 install torch torchvision", "stable,pip,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package
pip3 install torch torchvision", "stable,pip,macos,accnone,python": "pip3 install torch torchvision", "stable,libtorch,macos,accnone,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.11.0.zip", "stable,libtorch,macos,cuda.x,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.11.0.zip", "stable,libtorch,macos,cuda.y,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.11.0.zip", "stable,libtorch,macos,cuda.z,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.11.0.zip", "stable,libtorch,macos,rocm5.x,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.11.0.zip", "stable,pip,windows,accnone,python": "pip3 install torch torchvision", "stable,pip,windows,cuda.x,python": "pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu126", "stable,pip,windows,cuda.y,python": "pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu128", "stable,pip,windows,cuda.z,python": "pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu130", "stable,pip,windows,rocm5.x,python": "NOTE: ROCm is not available on Windows", "stable,libtorch,windows,accnone,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-2.11.0%2Bcpu.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-2.11.0%2Bcpu.zip", "stable,libtorch,windows,cuda.x,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/cu126/libtorch-win-shared-with-deps-2.11.0%2Bcu126.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/cu126/libtorch-win-shared-with-deps-debug-2.11.0%2Bcu126.zip", "stable,libtorch,windows,cuda.y,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/cu128/libtorch-win-shared-with-deps-2.11.0%2Bcu128.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/cu128/libtorch-win-shared-with-deps-debug-2.11.0%2Bcu128.zip", "stable,libtorch,windows,cuda.z,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/cu130/libtorch-win-shared-with-deps-2.11.0%2Bcu130.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/cu130/libtorch-win-shared-with-deps-debug-2.11.0%2Bcu130.zip", "stable,libtorch,windows,rocm5.x,cplusplus": "NOTE: ROCm is not available on Windows"}; + var object = {"preview,pip,linux,accnone,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,pip,linux,cuda.x,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu126", "preview,pip,linux,cuda.y,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu130", "preview,pip,linux,cuda.z,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu132", "preview,pip,linux,rocm5.x,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/rocm7.2", "preview,libtorch,linux,accnone,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-shared-with-deps-latest.zip", "preview,libtorch,linux,cuda.x,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/cu126/libtorch-shared-with-deps-latest.zip", "preview,libtorch,linux,cuda.y,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/cu130/libtorch-shared-with-deps-latest.zip", "preview,libtorch,linux,cuda.z,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/cu132/libtorch-shared-with-deps-latest.zip", "preview,libtorch,linux,rocm5.x,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/nightly/rocm7.2/libtorch-shared-with-deps-latest.zip", "preview,pip,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package
pip3 install --pre torch torchvision --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
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,pip,macos,cuda.z,python": "# CUDA is not available on MacOS, please use default package
pip3 install --pre torch torchvision --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
pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,pip,macos,accnone,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,libtorch,macos,accnone,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip", "preview,libtorch,macos,cuda.x,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip", "preview,libtorch,macos,cuda.y,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip", "preview,libtorch,macos,cuda.z,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip", "preview,libtorch,macos,rocm5.x,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-arm64-latest.zip", "preview,pip,windows,accnone,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu", "preview,pip,windows,cuda.x,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu126", "preview,pip,windows,cuda.y,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu130", "preview,pip,windows,cuda.z,python": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu132", "preview,pip,windows,rocm5.x,python": "NOTE: ROCm is not available on Windows", "preview,libtorch,windows,accnone,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-win-shared-with-deps-latest.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/nightly/cpu/libtorch-win-shared-with-deps-debug-latest.zip", "preview,libtorch,windows,cuda.x,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/nightly/cu126/libtorch-win-shared-with-deps-latest.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/nightly/cu126/libtorch-win-shared-with-deps-debug-latest.zip", "preview,libtorch,windows,cuda.y,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/nightly/cu130/libtorch-win-shared-with-deps-latest.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/nightly/cu130/libtorch-win-shared-with-deps-debug-latest.zip", "preview,libtorch,windows,cuda.z,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/nightly/cu132/libtorch-win-shared-with-deps-latest.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/nightly/cu132/libtorch-win-shared-with-deps-debug-latest.zip", "preview,libtorch,windows,rocm5.x,cplusplus": "NOTE: 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/cu126", "stable,pip,linux,cuda.y,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128", "stable,pip,linux,cuda.z,python": "pip3 install torch torchvision torchaudio", "stable,pip,linux,rocm5.x,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm7.2", "stable,libtorch,linux,accnone,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-2.11.0%2Bcpu.zip", "stable,libtorch,linux,cuda.x,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cu126/libtorch-shared-with-deps-2.11.0%2Bcu126.zip", "stable,libtorch,linux,cuda.y,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cu128/libtorch-shared-with-deps-2.11.0%2Bcu128.zip", "stable,libtorch,linux,cuda.z,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/cu130/libtorch-shared-with-deps-2.11.0%2Bcu130.zip", "stable,libtorch,linux,rocm5.x,cplusplus": "Download here (cxx11 ABI):
https://download.pytorch.org/libtorch/rocm7.2/libtorch-shared-with-deps-2.11.0%2Brocm7.2.zip", "stable,pip,macos,cuda.x,python": "# CUDA is not available on MacOS, please use default package
pip3 install torch torchvision torchaudio", "stable,pip,macos,cuda.y,python": "# CUDA is not available on MacOS, please use default package
pip3 install torch torchvision torchaudio", "stable,pip,macos,cuda.z,python": "# CUDA is not available on MacOS, please use default package
pip3 install torch torchvision torchaudio", "stable,pip,macos,rocm5.x,python": "# ROCm is not available on MacOS, please use default package
pip3 install torch torchvision torchaudio", "stable,pip,macos,accnone,python": "pip3 install torch torchvision torchaudio", "stable,libtorch,macos,accnone,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.11.0.zip", "stable,libtorch,macos,cuda.x,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.11.0.zip", "stable,libtorch,macos,cuda.y,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.11.0.zip", "stable,libtorch,macos,cuda.z,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.11.0.zip", "stable,libtorch,macos,rocm5.x,cplusplus": "Download arm64 libtorch here (ROCm and CUDA are not supported):
https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.11.0.zip", "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/cu126", "stable,pip,windows,cuda.y,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128", "stable,pip,windows,cuda.z,python": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu130", "stable,pip,windows,rocm5.x,python": "NOTE: ROCm is not available on Windows", "stable,libtorch,windows,accnone,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-2.11.0%2Bcpu.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/cpu/libtorch-win-shared-with-deps-debug-2.11.0%2Bcpu.zip", "stable,libtorch,windows,cuda.x,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/cu126/libtorch-win-shared-with-deps-2.11.0%2Bcu126.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/cu126/libtorch-win-shared-with-deps-debug-2.11.0%2Bcu126.zip", "stable,libtorch,windows,cuda.y,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/cu128/libtorch-win-shared-with-deps-2.11.0%2Bcu128.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/cu128/libtorch-win-shared-with-deps-debug-2.11.0%2Bcu128.zip", "stable,libtorch,windows,cuda.z,cplusplus": "Download here (Release version):
https://download.pytorch.org/libtorch/cu130/libtorch-win-shared-with-deps-2.11.0%2Bcu130.zip
Download here (Debug version):
https://download.pytorch.org/libtorch/cu130/libtorch-win-shared-with-deps-debug-2.11.0%2Bcu130.zip", "stable,libtorch,windows,rocm5.x,cplusplus": "NOTE: ROCm is not available on Windows"}; if (!object.hasOwnProperty(key)) { $("#command").html( @@ -282,4 +282,3 @@ function commandMessage(key) { // Set cuda version right away changeVersion("stable") - diff --git a/published_versions.json b/published_versions.json index b93c62d8cb90..dc49a29f5bec 100644 --- a/published_versions.json +++ b/published_versions.json @@ -6921,23 +6921,23 @@ "pip": { "accnone": { "note": null, - "command": "pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu" + "command": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu" }, "cuda.x": { "note": null, - "command": "pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu126" + "command": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126" }, "cuda.y": { "note": null, - "command": "pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu128" + "command": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128" }, "cuda.z": { "note": null, - "command": "pip3 install torch torchvision" + "command": "pip3 install torch torchvision torchaudio" }, "rocm5.x": { "note": null, - "command": "pip3 install torch torchvision --index-url https://download.pytorch.org/whl/rocm7.2" + "command": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm7.2" } }, "libtorch": { @@ -6977,27 +6977,27 @@ "pip": { "cuda.x": { "note": "# CUDA is not available on MacOS, please use default package", - "command": "pip3 install torch torchvision", + "command": "pip3 install torch torchvision torchaudio", "default": true }, "cuda.y": { "note": "# CUDA is not available on MacOS, please use default package", - "command": "pip3 install torch torchvision", + "command": "pip3 install torch torchvision torchaudio", "default": true }, "cuda.z": { "note": "# CUDA is not available on MacOS, please use default package", - "command": "pip3 install torch torchvision", + "command": "pip3 install torch torchvision torchaudio", "default": true }, "rocm5.x": { "note": "# ROCm is not available on MacOS, please use default package", - "command": "pip3 install torch torchvision", + "command": "pip3 install torch torchvision torchaudio", "default": true }, "accnone": { "note": null, - "command": "pip3 install torch torchvision" + "command": "pip3 install torch torchvision torchaudio" } }, "libtorch": { @@ -7041,19 +7041,19 @@ "pip": { "accnone": { "note": null, - "command": "pip3 install torch torchvision" + "command": "pip3 install torch torchvision torchaudio" }, "cuda.x": { "note": null, - "command": "pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu126" + "command": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126" }, "cuda.y": { "note": null, - "command": "pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu128" + "command": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128" }, "cuda.z": { "note": null, - "command": "pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu130" + "command": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu130" }, "rocm5.x": { "note": "NOTE: ROCm is not available on Windows", @@ -7097,4 +7097,4 @@ } } } -} \ No newline at end of file +} diff --git a/scripts/gen_quick_start_module.py b/scripts/gen_quick_start_module.py index 5fd20d79949f..273da2472528 100755 --- a/scripts/gen_quick_start_module.py +++ b/scripts/gen_quick_start_module.py @@ -113,6 +113,12 @@ def get_gpu_info(acc_key, instr, acc_arch_map): return (gpu_arch_type, gpu_arch_version) +def add_stable_pip_domain_packages(command): + if command is None: + return None + return command.replace("torch torchvision", "torch torchvision torchaudio") + + # This method is used for generating new published_versions.json file # It will modify versions json object with installation instructions # Provided by generate install matrix Github Workflow, stored in release_matrix @@ -148,7 +154,10 @@ def update_versions(versions, release_matrix, release_version): if pkg_arch_matrix: if package_type != "libtorch": - instr["command"] = pkg_arch_matrix[0]["installation"] + command = pkg_arch_matrix[0]["installation"] + if release_version == "release" and pkg_key == "pip": + command = add_stable_pip_domain_packages(command) + instr["command"] = command else: if os_key == OperatingSystem.LINUX.value: rel_entry_dict = {