Skip to content

Commit

Permalink
use transformers code version
Browse files Browse the repository at this point in the history
  • Loading branch information
eaidova committed Feb 27, 2025
1 parent fffebdb commit 2b0e599
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/openvino/test_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -2160,6 +2160,10 @@ def get_transformer_model_class(self, model_arch):
from transformers import Qwen2VLForConditionalGeneration

return Qwen2VLForConditionalGeneration
if model_arch == "qwen_25_vl":
from transformers import Qwen2_5_VLForConditionalGeneration

return Qwen2_5_VLForConditionalGeneration
return AutoModelForCausalLM

def _check_device_and_request(self, ov_model, expected_device, has_request):
Expand Down

0 comments on commit 2b0e599

Please sign in to comment.