From 1742bfb6104235a6a8d32d95e03abbb3016f5141 Mon Sep 17 00:00:00 2001 From: Baizhou Zhang Date: Thu, 30 Apr 2026 17:17:50 -0700 Subject: [PATCH] [CI] release-whl-kernel: skip musa wheels in update_kernel_whl_index (#24191) Co-authored-by: Claude Opus 4.7 (1M context) --- scripts/update_kernel_whl_index.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/update_kernel_whl_index.py b/scripts/update_kernel_whl_index.py index 6e2fccbee..093a7d699 100644 --- a/scripts/update_kernel_whl_index.py +++ b/scripts/update_kernel_whl_index.py @@ -11,8 +11,10 @@ DEFAULT_CUDA_VERSION = "130" def check_wheel_cuda_version(path_name, target_cuda_version): - # Pass ROCm wheel - if re.search(f"rocm", path_name): + # Skip non-CUDA backend wheels (rocm, musa, ...). Their + + # local-version tags don't match the CUDA wheel regex below, and they are + # published by the dedicated release-rocm*/release-musa* jobs. + if re.search(r"\+(rocm|musa)", path_name): return False # For other CUDA versions, the wheel path name will contain the cuda version suffix, e.g. sglang_kernel-0.4.0+cu130-cp310-abi3-manylinux2014_x86_64.whl