mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-27 00:54:31 +08:00
[Misc] Change warn_for_unimplemented_methods to debug (#20455)
This commit is contained in:
parent
8d1096e7db
commit
7e1665b089
@ -2799,7 +2799,7 @@ def warn_for_unimplemented_methods(cls: type[T]) -> type[T]:
|
|||||||
if unimplemented_methods:
|
if unimplemented_methods:
|
||||||
method_names = ','.join(unimplemented_methods)
|
method_names = ','.join(unimplemented_methods)
|
||||||
msg = (f"Methods {method_names} not implemented in {self}")
|
msg = (f"Methods {method_names} not implemented in {self}")
|
||||||
logger.warning(msg)
|
logger.debug(msg)
|
||||||
|
|
||||||
@wraps(original_init)
|
@wraps(original_init)
|
||||||
def wrapped_init(self, *args, **kwargs) -> None:
|
def wrapped_init(self, *args, **kwargs) -> None:
|
||||||
@ -3005,4 +3005,4 @@ def has_deep_ep() -> bool:
|
|||||||
def has_deep_gemm() -> bool:
|
def has_deep_gemm() -> bool:
|
||||||
"""Whether the optional `deep_gemm` package is available."""
|
"""Whether the optional `deep_gemm` package is available."""
|
||||||
|
|
||||||
return _has_module("deep_gemm")
|
return _has_module("deep_gemm")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user