From 199d49f55a89f0fd7a1b90f31ed7fbe171050e6c Mon Sep 17 00:00:00 2001 From: atalman Date: Thu, 15 Dec 2022 14:41:39 -0800 Subject: [PATCH] Tune macos installation instructions --- published_versions.json | 6 ++++++ scripts/gen_quick_start_module.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/published_versions.json b/published_versions.json index 05b70ac2198b..ecd24e20ae00 100644 --- a/published_versions.json +++ b/published_versions.json @@ -123,18 +123,21 @@ }, "cuda.x": { "note": null, + "default": true, "versions": { "Download default libtorch here (ROCm and CUDA are not supported):": "https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip" } }, "cuda.y": { "note": null, + "default": true, "versions": { "Download default libtorch here (ROCm and CUDA are not supported):": "https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip" } }, "rocm5.x": { "note": null, + "default": true, "versions": { "Download default libtorch here (ROCm and CUDA are not supported):": "https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip" } @@ -322,18 +325,21 @@ }, "cuda.x": { "note": null, + "default": true, "versions": { "Download default libtorch here (ROCm and CUDA are not supported):": "https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.13.0.zip" } }, "cuda.y": { "note": null, + "default": true, "versions": { "Download default libtorch here (ROCm and CUDA are not supported):": "https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.13.0.zip" } }, "rocm5.x": { "note": "NOTE: ROCm is not available on MacOS", + "default": true, "versions": null } } diff --git a/scripts/gen_quick_start_module.py b/scripts/gen_quick_start_module.py index 920001ecb235..1a808e2995c3 100755 --- a/scripts/gen_quick_start_module.py +++ b/scripts/gen_quick_start_module.py @@ -57,7 +57,7 @@ class OperatingSystem(Enum): CXX11_ABI: "Download here (cxx11 ABI):", RELEASE: "Download here (Release version):", DEBUG: "Download here (Debug version):", - MACOS: "Download default libtorch here (ROCm and CUDA not supported):", + MACOS: "Download default libtorch here (ROCm and CUDA are not supported):", } def load_json_from_basedir(filename: str):