Remove duplicate comment from pre-commit merge

This commit is contained in:
Daniel Han 2026-04-03 19:51:16 +00:00
commit 263470edca

View file

@ -109,7 +109,6 @@ def _has_rocm_gpu() -> bool:
import re
for cmd, check_fn in (
# rocminfo: look for "Name: gfxNNNN" indicating an actual GPU agent
# rocminfo: look for "Name: gfxNNNN" with nonzero first digit (gfx000 is the CPU agent)
(["rocminfo"], lambda out: bool(re.search(r"gfx[1-9]", out.lower()))),
# amd-smi list: require "GPU: <number>" data rows, not just a header