From 200944b41502b2f6c17cb4b047baf163da17115b Mon Sep 17 00:00:00 2001 From: Baizhou Zhang Date: Sat, 2 May 2026 16:07:20 -0700 Subject: [PATCH] Update kernel installation instructions after shifting default cuda to 13 (#24181) --- sgl-kernel/python/sgl_kernel/load_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sgl-kernel/python/sgl_kernel/load_utils.py b/sgl-kernel/python/sgl_kernel/load_utils.py index 328b54cc2..f55cc1ab0 100644 --- a/sgl-kernel/python/sgl_kernel/load_utils.py +++ b/sgl-kernel/python/sgl_kernel/load_utils.py @@ -167,9 +167,9 @@ def _load_architecture_specific_ops(): # All attempts failed cuda_version = torch.version.cuda - if cuda_version and cuda_version.startswith("13"): + if cuda_version and cuda_version.startswith("12"): install_hint = ( - "pip install sglang-kernel --index-url https://docs.sglang.ai/whl/cu130/" + "pip install sglang-kernel --index-url https://docs.sglang.ai/whl/cu129/" ) else: install_hint = "pip install --upgrade sglang-kernel"