[Model][VLM] Add Qwen2-VL model support (#7905)
Co-authored-by: Roger Wang <136131678+ywang96@users.noreply.github.com> Co-authored-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
co-authored by
Roger Wang
DarkLight1337
parent
cea95dfb94
commit
3b7fea770f
@@ -1,9 +1,14 @@
|
||||
import pytest
|
||||
import transformers
|
||||
|
||||
from vllm.model_executor.models import _MODELS, ModelRegistry
|
||||
|
||||
|
||||
@pytest.mark.parametrize("model_cls", _MODELS)
|
||||
def test_registry_imports(model_cls):
|
||||
if (model_cls == "Qwen2VLForConditionalGeneration"
|
||||
and transformers.__version__ < "4.45"):
|
||||
pytest.skip("Waiting for next transformers release")
|
||||
|
||||
# Ensure all model classes can be imported successfully
|
||||
ModelRegistry.resolve_model_cls([model_cls])
|
||||
|
||||
Reference in New Issue
Block a user