From 6eaf93020dc467ccd98f107fbab99d958e0b442f Mon Sep 17 00:00:00 2001 From: youkaichao Date: Wed, 5 Mar 2025 13:32:18 +0800 Subject: [PATCH] [platforms] improve rocm debugging info (#14257) --- vllm/platforms/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vllm/platforms/__init__.py b/vllm/platforms/__init__.py index 74ef8bd1cff1a..4912906fef465 100644 --- a/vllm/platforms/__init__.py +++ b/vllm/platforms/__init__.py @@ -106,6 +106,9 @@ def rocm_platform_plugin() -> Optional[str]: if len(amdsmi.amdsmi_get_processor_handles()) > 0: is_rocm = True logger.debug("Confirmed ROCm platform is available.") + else: + logger.debug("ROCm platform is not available because" + " no GPU is found.") finally: amdsmi.amdsmi_shut_down() except Exception as e: