[Model][VLM] Add LLaVA-Onevision model support (#8486)
Co-authored-by: litianjian <litianjian@bytedance.com> Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com> Co-authored-by: Roger Wang <ywang@roblox.com> Co-authored-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
@@ -6,7 +6,8 @@ from vllm.model_executor.models import _MODELS, ModelRegistry
|
||||
|
||||
@pytest.mark.parametrize("model_cls", _MODELS)
|
||||
def test_registry_imports(model_cls):
|
||||
if (model_cls == "Qwen2VLForConditionalGeneration"
|
||||
if (model_cls in ("LlavaOnevisionForConditionalGeneration",
|
||||
"Qwen2VLForConditionalGeneration")
|
||||
and transformers.__version__ < "4.45"):
|
||||
pytest.skip("Waiting for next transformers release")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user