[Log] Optimize duplicate startup log (#33944)
Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user