[CI] [Bugfix] Fix unbounded variable in run-multi-node-test.sh (#31967)

Signed-off-by: tjtanaa <tunjian.tan@embeddedllm.com>
This commit is contained in:
TJian
2026-01-08 21:42:01 +08:00
committed by GitHub
parent 7645bc524b
commit 72c068b8e0
2 changed files with 2 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ set -euox pipefail
if [ -e /dev/kfd ] || \
[ -d /opt/rocm ] || \
command -v rocm-smi &> /dev/null || \
[ -n "$ROCM_HOME" ]; then
[ -n "${ROCM_HOME:-}" ]; then
IS_ROCM=1
else
IS_ROCM=0