mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-06-01 19:07:05 +08:00
[Misc] Fix pre-commit (#29238)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
parent
d44a63c6d6
commit
ae66818379
@ -19,7 +19,6 @@ from vllm.model_executor.layers.quantization.base_config import (
|
|||||||
QuantizationConfig,
|
QuantizationConfig,
|
||||||
QuantizeMethodBase,
|
QuantizeMethodBase,
|
||||||
)
|
)
|
||||||
|
|
||||||
from vllm.model_executor.models.interfaces import SupportsQuant, supports_multimodal
|
from vllm.model_executor.models.interfaces import SupportsQuant, supports_multimodal
|
||||||
from vllm.utils.platform_utils import is_pin_memory_available
|
from vllm.utils.platform_utils import is_pin_memory_available
|
||||||
|
|
||||||
@ -173,6 +172,7 @@ def _get_model_architecture(model_config: ModelConfig) -> tuple[type[nn.Module],
|
|||||||
as_seq_cls_model,
|
as_seq_cls_model,
|
||||||
try_create_mm_pooling_model_cls,
|
try_create_mm_pooling_model_cls,
|
||||||
)
|
)
|
||||||
|
|
||||||
architectures = getattr(model_config.hf_config, "architectures", [])
|
architectures = getattr(model_config.hf_config, "architectures", [])
|
||||||
|
|
||||||
model_cls, arch = model_config.registry.resolve_model_cls(
|
model_cls, arch = model_config.registry.resolve_model_cls(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user