Skip to content

Commit

Permalink
fix transformers version
Browse files Browse the repository at this point in the history
  • Loading branch information
eaidova committed Sep 18, 2024
1 parent cd48153 commit 60ecb78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/openvino/test_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -1822,7 +1822,10 @@ def test_compare_with_and_without_past_key_values(self):


class OVModelForVisualCausalLMIntegrationTest(unittest.TestCase):
SUPPORTED_ARCHITECTURES = ("llava", "llava_next")
SUPPORTED_ARCHITECTURES = ["llava", ]

if is_transformers_version(">=", "4.40.0"):
SUPPORTED_ARCHITECTURES += ["llava_next"]
TASK = "image-text-to-text"

IMAGE = Image.open(
Expand Down

0 comments on commit 60ecb78

Please sign in to comment.