From d1d063a588205161fe5613d5a6d76311ce0dc83e Mon Sep 17 00:00:00 2001 From: Cyrus Leung Date: Tue, 14 Oct 2025 18:03:46 +0800 Subject: [PATCH] [Chore] Use `max_transformers_version` for Qwen-VL test (#26792) Signed-off-by: DarkLight1337 --- tests/models/multimodal/generation/test_common.py | 2 -- tests/models/registry.py | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/models/multimodal/generation/test_common.py b/tests/models/multimodal/generation/test_common.py index 0572898368d6d..f124220bb16d9 100644 --- a/tests/models/multimodal/generation/test_common.py +++ b/tests/models/multimodal/generation/test_common.py @@ -707,8 +707,6 @@ VLM_TEST_SETTINGS = { max_num_seqs=2, vllm_output_post_proc=model_utils.qwen_vllm_to_hf_output, prompt_path_encoder=model_utils.qwen_prompt_path_encoder, - # FIXME: https://github.com/huggingface/transformers/issues/38358 - marks=[pytest.mark.skip("Model initialization fails")], ), "qwen2_vl": VLMTestInfo( models=["Qwen/Qwen2-VL-2B-Instruct"], diff --git a/tests/models/registry.py b/tests/models/registry.py index fbc11c2ddfd4c..ec12e82ea36ea 100644 --- a/tests/models/registry.py +++ b/tests/models/registry.py @@ -752,6 +752,8 @@ _MULTIMODAL_EXAMPLE_MODELS = { "Qwen/Qwen-VL", extras={"chat": "Qwen/Qwen-VL-Chat"}, trust_remote_code=True, + max_transformers_version="4.53.3", + transformers_version_reason="Use of deprecated imports which have been removed.", # noqa: E501 hf_overrides={"architectures": ["QwenVLForConditionalGeneration"]}, ), "Qwen2AudioForConditionalGeneration": _HfExamplesInfo(