mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 20:35:01 +08:00
[CI/Build] Fix broken multimodal test (#10950)
This commit is contained in:
parent
b031a455a9
commit
222f5b082a
@ -2,6 +2,7 @@ from typing import List, Type
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
import torch.nn.functional as F
|
import torch.nn.functional as F
|
||||||
|
import transformers
|
||||||
from transformers import AutoModelForVision2Seq
|
from transformers import AutoModelForVision2Seq
|
||||||
|
|
||||||
from ....conftest import IMAGE_ASSETS, HfRunner, PromptImageInput, VllmRunner
|
from ....conftest import IMAGE_ASSETS, HfRunner, PromptImageInput, VllmRunner
|
||||||
@ -85,6 +86,9 @@ def _run_test(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skipif(transformers.__version__.startswith("4.46"),
|
||||||
|
reason="Model broken with changes in transformers 4.46")
|
||||||
|
@pytest.mark.core_model
|
||||||
@pytest.mark.parametrize("model", MODELS)
|
@pytest.mark.parametrize("model", MODELS)
|
||||||
@pytest.mark.parametrize("dtype", ["half"])
|
@pytest.mark.parametrize("dtype", ["half"])
|
||||||
def test_models_text(
|
def test_models_text(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user