[Log] Optimize duplicate startup log (#33944)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
Wentao Ye
2026-02-06 12:49:56 -05:00
committed by GitHub
parent 7bec435130
commit 67a746e87f
3 changed files with 10 additions and 7 deletions

View File

@@ -91,14 +91,16 @@ def is_deep_gemm_e8m0_used() -> bool:
_lazy_init()
if _fp8_gemm_nt_impl is None:
logger.info_once("DeepGEMM E8M0 disabled: _fp8_gemm_nt_impl not found")
logger.info_once(
"DeepGEMM E8M0 disabled: _fp8_gemm_nt_impl not found", scope="local"
)
return False
if envs.VLLM_USE_DEEP_GEMM_E8M0:
logger.info_once("DeepGEMM E8M0 enabled on current platform.")
logger.info_once("DeepGEMM E8M0 enabled on current platform.", scope="local")
return True
logger.info_once("DeepGEMM E8M0 disabled on current configuration.")
logger.info_once("DeepGEMM E8M0 disabled on current configuration.", scope="local")
return False