Skip to content

Commit 7a67429

Browse files
vmpurivmpurijeffdaily
authored
Add check for rocminfo in the installation script to replace the nightly URL with the appropriate ROCm whl. (#1279)
* Add check for rocminfo in the installation script to replace the nightly URL with the appropriate ROCm whl. * Update install/install_requirements.sh use nightly Co-authored-by: Jeff Daily <[email protected]> --------- Co-authored-by: vmpuri <[email protected]> Co-authored-by: Jeff Daily <[email protected]>
1 parent 2739023 commit 7a67429

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/nightly/rocm6.2"
7073
else
7174
TORCH_NIGHTLY_URL="https://download.pytorch.org/whl/nightly/cpu"
7275
fi

0 commit comments

Comments
 (0)