Fix ROCm diffusion CI platform guard and startup deadlines
Signed-off-by: Sy03 <1370724210@qq.com>
This commit is contained in:
1 parent
daf91b4d7a
commit
ec0feea2bd
4 files changed
+78
-3
No files matched your search
@@ -19,6 +19,7 @@ import pytest
|
||||
|
||||
from tests.helpers.mark import hardware_marks
|
||||
from tests.helpers.runtime import OmniServer, OmniServerParams, OnlineOmniClient
|
||||
from vllm_omni.platforms import current_omni_platform
|
||||
|
||||
os.environ["VLLM_WORKER_MULTIPROC_METHOD"] = "spawn"
|
||||
|
||||
@@ -31,9 +32,11 @@ SINGLE_CARD_FEATURE_MARKS = hardware_marks(res={"cuda": "H100"})
|
||||
|
||||
def _get_diffusion_feature_cases(model: str):
|
||||
"""Return a single default ``OmniServerParams`` row (no extra ``server_args``)."""
|
||||
# MI300 CI needs over 900 s to load both expert checkpoints from cold storage.
|
||||
init_timeout = 1800 if current_omni_platform.is_rocm() else None
|
||||
return [
|
||||
pytest.param(
|
||||
OmniServerParams(model=model),
|
||||
OmniServerParams(model=model, init_timeout=init_timeout, stage_init_timeout=init_timeout),
|
||||
id="default",
|
||||
marks=SINGLE_CARD_FEATURE_MARKS,
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user