Skip to content

Commit

Permalink
[CI/Build] Fix broken multimodal test (#10950)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkLight1337 authored Dec 6, 2024
1 parent b031a45 commit 222f5b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/models/embedding/vision_language/test_llava_next.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import pytest
import torch.nn.functional as F
import transformers
from transformers import AutoModelForVision2Seq

from ....conftest import IMAGE_ASSETS, HfRunner, PromptImageInput, VllmRunner
Expand Down Expand Up @@ -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("dtype", ["half"])
def test_models_text(
Expand Down

0 comments on commit 222f5b0

Please sign in to comment.