Deprecated 1st generation Qwen and QwenVL models (#45131)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2026-06-10 14:55:33 +00:00
committed by GitHub
parent ccc05de038
commit 3cc9fecd58
27 changed files with 6 additions and 1349 deletions
-10
View File
@@ -5,21 +5,11 @@
import os
import warnings
import pytest
import torch
from tests.utils import prewarm_hf_cache
from vllm.platforms import current_platform
@pytest.fixture(scope="session", autouse=True)
def _prewarm_hf_cache():
# tokenization_qwen.py downloads SimSun.ttf from
# qianwen-res.oss-cn-beijing.aliyuncs.com; both Qwen/Qwen-VL and
# Qwen/Qwen-VL-Chat look it up from the Chat repo.
prewarm_hf_cache([("Qwen/Qwen-VL-Chat", "SimSun.ttf")])
def pytest_configure(config):
"""Early ROCm configuration that must happen before test collection."""
if not current_platform.is_rocm():
@@ -976,16 +976,6 @@ VLM_TEST_SETTINGS = {
auto_cls=AutoModelForImageTextToText,
hf_model_kwargs=model_utils.qianfan_ocr_hf_model_kwargs("baidu/Qianfan-OCR"),
),
"qwen_vl": VLMTestInfo(
models=["Qwen/Qwen-VL"],
test_type=(VLMTestType.IMAGE, VLMTestType.MULTI_IMAGE),
prompt_formatter=identity,
img_idx_to_prompt=lambda idx: f"Picture {idx}: <img></img>\n",
max_model_len=1024,
max_num_seqs=2,
vllm_output_post_proc=model_utils.qwen_vllm_to_hf_output,
prompt_path_encoder=model_utils.qwen_prompt_path_encoder,
),
"qwen2_vl": VLMTestInfo(
models=["Qwen/Qwen2-VL-2B-Instruct"],
test_type=(VLMTestType.IMAGE, VLMTestType.MULTI_IMAGE, VLMTestType.VIDEO),