# SPDX-License-Identifier: Apache-2.0 # SPDX-FileCopyrightText: Copyright contributors to the vLLM project import os os.environ["VLLM_WORKER_MULTIPROC_METHOD"] = "spawn" os.environ["VLLM_TEST_CLEAN_GPU_MEMORY"] = "0" from pathlib import Path import pytest from tests.helpers.mark import hardware_test from tests.helpers.media import ( generate_synthetic_audio, generate_synthetic_image, generate_synthetic_video, ) from tests.helpers.stage_config import modify_stage_config models = ["Jonathan1909/Ming-flash-omni-2.0"] # Ming-specific SYSTEM_PROMPT = "你是一个友好的AI助手。\n\ndetailed thinking off" EOS_TOKEN = "<|role_end|>" IMAGE_TOKEN = "" VIDEO_TOKEN = "