Skip to content

Commit 37c37d1

Browse files
youkaichaoshreyankg
authored andcommitted
[platforms] improve rocm debugging info (vllm-project#14257)
1 parent 2595deb commit 37c37d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vllm/platforms/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ def rocm_platform_plugin() -> Optional[str]:
106106
if len(amdsmi.amdsmi_get_processor_handles()) > 0:
107107
is_rocm = True
108108
logger.debug("Confirmed ROCm platform is available.")
109+
else:
110+
logger.debug("ROCm platform is not available because"
111+
" no GPU is found.")
109112
finally:
110113
amdsmi.amdsmi_shut_down()
111114
except Exception as e:

0 commit comments

Comments
 (0)