[CI] De-flake renderers/test_hf.py::test_resolve_content_format_fallbacks[Qwen/Qwen-VL-string] (#43064)

Signed-off-by: haosdent <haosdent@gmail.com>
This commit is contained in:
haosdent
2026-05-22 12:15:22 +08:00
committed by GitHub
parent 8c8b1825eb
commit 1fe3303983
5 changed files with 62 additions and 5 deletions
+14
View File
@@ -0,0 +1,14 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
import pytest
from tests.utils import prewarm_hf_cache
@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")])