mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-09-06 11:46:59 +08:00
[platforms] improve rocm debugging info (#14257)
This commit is contained in:
parent
72c62eae5f
commit
6eaf93020d
@ -106,6 +106,9 @@ def rocm_platform_plugin() -> Optional[str]:
|
|||||||
if len(amdsmi.amdsmi_get_processor_handles()) > 0:
|
if len(amdsmi.amdsmi_get_processor_handles()) > 0:
|
||||||
is_rocm = True
|
is_rocm = True
|
||||||
logger.debug("Confirmed ROCm platform is available.")
|
logger.debug("Confirmed ROCm platform is available.")
|
||||||
|
else:
|
||||||
|
logger.debug("ROCm platform is not available because"
|
||||||
|
" no GPU is found.")
|
||||||
finally:
|
finally:
|
||||||
amdsmi.amdsmi_shut_down()
|
amdsmi.amdsmi_shut_down()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user