# 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.conftest import ( generate_synthetic_audio, generate_synthetic_image, generate_synthetic_video, modify_stage_config, ) from tests.utils import hardware_test models = ["Jonathan1909/Ming-flash-omni-2.0"] # Ming-specific SYSTEM_PROMPT = "你是一个友好的AI助手。\n\ndetailed thinking off" EOS_TOKEN = "<|role_end|>" IMAGE_TOKEN = "" VIDEO_TOKEN = "