[Model] Fix missing maybe_prefix (#42280)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2026-05-11 09:04:06 +00:00
committed by GitHub
parent b1b59720b2
commit 9efdddca28
25 changed files with 49 additions and 29 deletions
+2 -1
View File
@@ -29,6 +29,7 @@ from vllm.model_executor.layers.rotary_embedding.common import (
from vllm.model_executor.model_loader.weight_utils import default_weight_loader
from vllm.platforms import current_platform
from .utils import maybe_prefix
from .vision import is_vit_use_data_parallel
@@ -598,7 +599,7 @@ class Siglip2NavitModel(torch.nn.Module):
self.vision_model = Siglip2VisionTransformer(
config,
quant_config=quant_config,
prefix=f"{prefix}.vision_model",
prefix=maybe_prefix(prefix, "vision_model"),
)
def forward(