From 4b52758c76ca09c2f615d7325425de2be748ecb2 Mon Sep 17 00:00:00 2001 From: kangwangamd <100359556+kangwangamd@users.noreply.github.com> Date: Thu, 30 Jul 2026 17:32:09 +0800 Subject: [PATCH] [AMD] Skip test_update_weights_from_disk on ROCm pending reload fix (#31924) (#31925) --- .../sglang/multimodal_gen/test/server/gpu_cases.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/python/sglang/multimodal_gen/test/server/gpu_cases.py b/python/sglang/multimodal_gen/test/server/gpu_cases.py index c02ad7472..a78aef40d 100644 --- a/python/sglang/multimodal_gen/test/server/gpu_cases.py +++ b/python/sglang/multimodal_gen/test/server/gpu_cases.py @@ -997,6 +997,20 @@ STANDALONE_FILES = { ], } +# test_update_weights_from_disk fails deterministically on ROCm: the diffusion +# weight-update-from-disk reload path does not reconcile the diffusers +# checkpoint layout with the sglang transformer parameters (shape mismatch -> +# HTTP 400). Tracked in #31924. NVIDIA does not run standalone files, so this +# test is AMD-only; skip it on ROCm until the reload path is fixed. Remove +# this block (keeping the STANDALONE_FILES / est-time entry above) to +# re-enable once #31924 lands. +if current_platform.is_hip(): + STANDALONE_FILES["1-gpu"] = [ + f + for f in STANDALONE_FILES["1-gpu"] + if f != "../single_test_file/test_update_weights_from_disk.py" + ] + # New standalone files may omit an estimate once to learn the real CI runtime. # CI will use a fallback estimate for sharding, run the test, then print a # measured value that must be copied into STANDALONE_FILE_EST_TIMES.