Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit cc2d6c6

Browse files
author
vmpuri
committed
Add check for rocminfo in the installation script to replace the nightly URL with the appropriate ROCm whl.
1 parent 2739023 commit cc2d6c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/install_requirements.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ TUNE_NIGHTLY_VERSION=dev20240928
6767
if [[ -x "$(command -v nvidia-smi)" ]];
6868
then
6969
TORCH_NIGHTLY_URL="https://download.pytorch.org/whl/nightly/cu121"
70+
elif [[ -x "$(command -v rocminfo)" ]];
71+
then
72+
TORCH_NIGHTLY_URL="https://download.pytorch.org/whl/rocm6.1"
7073
else
7174
TORCH_NIGHTLY_URL="https://download.pytorch.org/whl/nightly/cpu"
7275
fi

0 commit comments

Comments
 (0)