[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:
@@ -18,11 +18,8 @@
|
||||
import torch
|
||||
import torch.nn as nn
|
||||
import torch.nn.functional as F
|
||||
from vllm.logger import init_logger
|
||||
from vllm.model_executor.models.kimi_k25_vit import Learnable2DInterpPosEmbDivided_fixed, get_rope_shape_decorate
|
||||
|
||||
logger = init_logger(__name__)
|
||||
|
||||
|
||||
@get_rope_shape_decorate
|
||||
def get_rope_shape(org, interpolation_mode, shape):
|
||||
|
||||
Reference in New Issue
Block a user