[CI][Bugfix] Refactor the test case to add support for increasing init timeout and stage init timeout in order to resolve the CI timeout error. (#2711)

Signed-off-by: wangyu <410167048@qq.com>
This commit is contained in:
wangyu authored and GitHub committed 2026-04-13 14:47:55 +08:00
1 parent d9e745ce2c
commit 22261430b4
31 files changed
+480 -721

No files matched your search

+3 -4
View File
@@ -5,6 +5,7 @@ import os
import pytest
import torch
from tests.conftest import OmniRunner
from tests.utils import hardware_test
VOXCPM2_MODEL = "openbmb/VoxCPM2"
@@ -24,10 +25,8 @@ SAMPLE_RATE = 48000
@pytest.fixture(scope="module")
def voxcpm2_engine():
"""Create VoxCPM2 engine for testing."""
from vllm_omni import Omni
engine = Omni(model=VOXCPM2_MODEL, stage_configs_path=STAGE_CONFIG)
yield engine
with OmniRunner(VOXCPM2_MODEL, stage_configs_path=STAGE_CONFIG) as runner:
yield runner.omni
def _extract_audio(multimodal_output: dict) -> torch.Tensor: