[Log] Update deepgemm log (#45857)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
Wentao Ye
2026-06-17 15:34:22 +00:00
committed by GitHub
parent 5e27b2baf4
commit 9c7c74bf10
3 changed files with 11 additions and 6 deletions
+5 -4
View File
@@ -120,8 +120,9 @@ def is_deep_gemm_e8m0_used() -> bool:
def _missing(*_: Any, **__: Any) -> NoReturn:
"""Placeholder for unavailable DeepGEMM backend."""
raise RuntimeError(
"DeepGEMM backend is not available or outdated. Please install or "
"update the `deep_gemm` to a newer version to enable FP8 kernels."
"DeepGEMM backend is unavailable in the current vLLM environment, "
"or the available DeepGEMM package does not provide the required APIs "
"for these kernels."
)
@@ -156,7 +157,7 @@ def _import_deep_gemm():
logger.debug_once("Imported deep_gemm module from site-packages")
return module
except ImportError:
logger.debug_once(
logger.info_once(
"deep_gemm not found in site-packages, "
"trying vendored vllm.third_party.deep_gemm"
)
@@ -167,7 +168,7 @@ def _import_deep_gemm():
logger.debug_once("Imported deep_gemm module from vllm.third_party.deep_gemm")
return module
except ImportError:
logger.debug_once("Vendored deep_gemm not found either")
logger.info_once("Vendored deep_gemm not found either")
except Exception as e:
# The vendored module may raise RuntimeError during _C.init()
# if JIT include files are missing (e.g. incomplete wheel).