[CI] release-whl-kernel: skip musa wheels in update_kernel_whl_index (#24191)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
cf346bb15d
commit
1742bfb610
@@ -11,8 +11,10 @@ DEFAULT_CUDA_VERSION = "130"
|
|||||||
|
|
||||||
|
|
||||||
def check_wheel_cuda_version(path_name, target_cuda_version):
|
def check_wheel_cuda_version(path_name, target_cuda_version):
|
||||||
# Pass ROCm wheel
|
# Skip non-CUDA backend wheels (rocm, musa, ...). Their +<backend><ver>
|
||||||
if re.search(f"rocm", path_name):
|
# 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
|
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
|
# 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
|
||||||
|
|||||||
Reference in New Issue
Block a user