Skip to content

Commit

Permalink
[Build/CI] Checking/Waiting for the GPU's clean state (vllm-project#6379
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Alexei-V-Ivanov-AMD authored Jul 12, 2024
1 parent 024ad87 commit f9d25c2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .buildkite/run-amd-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
set -ex

# Print ROCm version
echo "--- Confirming Clean Initial State"
while true; do
sleep 3
if grep -q clean /opt/amdgpu/etc/gpu_state; then
echo "GPUs state is \"clean\""
break
fi
done

echo "--- ROCm info"
rocminfo

Expand Down

0 comments on commit f9d25c2

Please sign in to comment.