Remove duplicate comment from pre-commit merge
This commit is contained in:
parent
3caaf30a90
commit
263470edca
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue