From 486bcb48e71979ab47c7d18c5e66a51fc0b54c6d Mon Sep 17 00:00:00 2001 From: Mick Date: Fri, 3 Jul 2026 22:26:08 +0800 Subject: [PATCH] [diffusion] CI: fix AMD diffusion CI import (#30039) --- .../multimodal_gen/test/server/gpu_cases.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/python/sglang/multimodal_gen/test/server/gpu_cases.py b/python/sglang/multimodal_gen/test/server/gpu_cases.py index 301a6f4db..a0cc77b4e 100644 --- a/python/sglang/multimodal_gen/test/server/gpu_cases.py +++ b/python/sglang/multimodal_gen/test/server/gpu_cases.py @@ -912,14 +912,15 @@ def _make_5090_flux_layerwise_cpu_offload_case() -> DiffusionTestCase: ) -ONE_GPU_5090_CASES = _select_5090_canary_cases( - ( - "zimage_image_t2i", - "flux_2_klein_base_image_t2i", - "wan2_1_t2v_1.3b", - "turbo_wan2_1_t2v_1.3b", - ) +ONE_GPU_5090_CANARY_CASE_IDS = ( + "zimage_image_t2i", + "flux_2_klein_base_image_t2i", + "wan2_1_t2v_1.3b", ) +if not current_platform.is_hip(): + ONE_GPU_5090_CANARY_CASE_IDS += ("turbo_wan2_1_t2v_1.3b",) + +ONE_GPU_5090_CASES = _select_5090_canary_cases(ONE_GPU_5090_CANARY_CASE_IDS) ONE_GPU_5090_CASES.append(_make_5090_flux_layerwise_cpu_offload_case())