[Misc] Move some model utils into vision file (#11848)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2025-01-08 17:04:46 +00:00
committed by GitHub
parent 78f4590b60
commit ca47e176af
8 changed files with 94 additions and 92 deletions
+2 -1
View File
@@ -66,8 +66,9 @@ from vllm.sequence import IntermediateTensors
from vllm.transformers_utils.config import uses_mrope
from .interfaces import SupportsLoRA, SupportsMultiModal, SupportsPP
from .utils import (AutoWeightsLoader, WeightsMapper, get_vit_attn_backend,
from .utils import (AutoWeightsLoader, WeightsMapper,
init_vllm_registered_model, maybe_prefix)
from .vision import get_vit_attn_backend
logger = init_logger(__name__)