Unverified Commit 69e2d4fb authored by HAI's avatar HAI Committed by GitHub
Browse files

Relax to include more AMD GPUs (#2319)

parent 85e1a6f3
......@@ -879,7 +879,7 @@ def get_amdgpu_memory_capacity():
# Run rocm-smi and capture the output
result = subprocess.run(
[
"rocminfo | grep 'gfx94' -A 100 | grep 'Pool 1' -A 5 | grep 'Size:' | awk '{print $2}'"
"rocminfo | grep 'gfx' -A 100 | grep 'Pool 1' -A 5 | grep 'Size:' | awk '{print $2}'"
],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment