Skip to content

Commit 39ba26d

Browse files
committed
Changes based on the review comments for ROCm case
1 parent 2a68a46 commit 39ba26d

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

assets/quick-start-module.js

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -245,12 +245,6 @@ function commandMessage(key) {
245245
"stable,pip,windows,rocm4.0,python":
246246
"<b>NOTE:</b> ROCm is not available on Windows",
247247

248-
"stable,source,macos,rocm4.0,python":
249-
"<b>NOTE:</b> ROCm is not available on MacOS",
250-
251-
"stable,source,windows,rocm4.0,python":
252-
"<b>NOTE:</b> ROCm is not available on Windows",
253-
254248
"stable,libtorch,linux,accnone,cplusplus":
255249
"Download here (Pre-cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-1.8.0%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-1.8.0%2Bcpu.zip</a><br/><br> Download here (cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.8.0%2Bcpu.zip'>https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.8.0%2Bcpu.zip</a>",
256250

@@ -261,7 +255,7 @@ function commandMessage(key) {
261255
"Download here (Pre-cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/cu111/libtorch-shared-with-deps-1.8.0%2Bcu111.zip'>https://download.pytorch.org/libtorch/cu111/libtorch-shared-with-deps-1.8.0%2Bcu11.zip</a><br/><br> Download here (cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/cu111/libtorch-cxx11-abi-shared-with-deps-1.8.0%2Bcu111.zip'>https://download.pytorch.org/libtorch/cu111/libtorch-cxx11-abi-shared-with-deps-1.8.0%2Bcu111.zip</a>",
262256

263257
"stable,libtorch,linux,rocm4.0,cplusplus":
264-
"LibTorch binaries are not yet available for ROCm",
258+
"LibTorch binaries are not available for ROCm, please build it from source",
265259

266260
"stable,libtorch,macos,accnone,cplusplus":
267261
"Download here: <br/><a href='https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.8.0.zip'> https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.8.0.zip </a>",
@@ -330,7 +324,7 @@ function commandMessage(key) {
330324
"pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html<br /># On MacOS, we provide CPU-only packages, CUDA functionality is not provided",
331325

332326
"preview,pip,macos,rocm4.0,python":
333-
"<b>NOTE:</b> ROCm is not available on MacOS",
327+
"pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html<br /># ROCm is not available on MacOS",
334328

335329
"preview,pip,macos,accnone,python":
336330
"pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html",
@@ -369,7 +363,7 @@ function commandMessage(key) {
369363
"Download here (Pre-cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/nightly/cu111/libtorch-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu111/libtorch-shared-with-deps-latest.zip</a><br/><br> Download here (cxx11 ABI): <br/><a href='https://download.pytorch.org/libtorch/nightly/cu111/libtorch-cxx11-abi-shared-with-deps-latest.zip'>https://download.pytorch.org/libtorch/nightly/cu111/libtorch-cxx11-abi-shared-with-deps-latest.zip</a>",
370364

371365
"preview,libtorch,linux,rocm4.0,cplusplus":
372-
"LibTorch binaries are not yet available for ROCm",
366+
"LibTorch binaries are not available for ROCm, please build it from source",
373367

374368
"preview,libtorch,macos,accnone,cplusplus":
375369
"Download here: <br/><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip'> https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip </a>",
@@ -381,7 +375,7 @@ function commandMessage(key) {
381375
"MacOS binaries do not support CUDA. Download CPU libtorch here: <br/><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip'> https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip </a>",
382376

383377
"preview,libtorch,macos,rocm4.0,cplusplus":
384-
"<b>NOTE:</b> ROCm is not available on MacOS",
378+
"ROCm is not available on MacOS. Download CPU libtorch here: <br/><a href='https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip'> https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-latest.zip </a>",
385379

386380
"preview,libtorch,windows,accnone,cplusplus":
387381
"Download here for C++ (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/><br> Download here for C++ (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>",
@@ -394,12 +388,6 @@ function commandMessage(key) {
394388

395389
"preview,libtorch,windows,rocm4.0,cplusplus":
396390
"<b>NOTE:</b> ROCm is not available on Windows",
397-
398-
"preview,source,macos,rocm4.0,python":
399-
"<b>NOTE:</b> ROCm is not available on MacOS",
400-
401-
"preview,source,windows,rocm4.0,python":
402-
"<b>NOTE:</b> ROCm is not available on Windows",
403391
};
404392

405393
if (!object.hasOwnProperty(key)) {

0 commit comments

Comments
 (0)