[Misc]fix logger which does not take effects in patches (#7402)
### What this PR does / why we need it?
This PR fixes the logger initialization in patches so that the log info
can be displayed as expected.
### Does this PR introduce _any_ user-facing change?
No.
- vLLM version: v0.17.0
- vLLM main:
4497431df6
---------
Signed-off-by: Angazenn <supperccell@163.com>
This commit is contained in:
@@ -22,11 +22,9 @@
|
||||
import os
|
||||
|
||||
from vllm.config.model import ModelConfig
|
||||
from vllm.logger import init_logger
|
||||
from vllm.logger import logger
|
||||
from vllm.platforms import current_platform
|
||||
|
||||
logger = init_logger(__name__)
|
||||
|
||||
_original_verify_quantization = getattr(ModelConfig, "_verify_quantization", None)
|
||||
_original_verify_cuda_graph = getattr(ModelConfig, "_verify_cuda_graph", None)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user