Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
bcf1955f
Unverified
Commit
bcf1955f
authored
Sep 09, 2025
by
Lianmin Zheng
Committed by
GitHub
Sep 09, 2025
Browse files
Revert "chore: upgrade v0.3.9 sgl-kernel" (#10245)
parent
a06bf664
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
6 deletions
+9
-6
docker/Dockerfile
docker/Dockerfile
+5
-2
docker/Dockerfile.gb200
docker/Dockerfile.gb200
+1
-1
python/pyproject.toml
python/pyproject.toml
+1
-1
python/sglang/srt/entrypoints/engine.py
python/sglang/srt/entrypoints/engine.py
+1
-1
scripts/ci/ci_install_dependency.sh
scripts/ci/ci_install_dependency.sh
+1
-1
No files found.
docker/Dockerfile
View file @
bcf1955f
...
@@ -84,8 +84,11 @@ RUN python3 -m pip install --no-cache-dir --upgrade pip setuptools wheel html5li
...
@@ -84,8 +84,11 @@ RUN python3 -m pip install --no-cache-dir --upgrade pip setuptools wheel html5li
&&
python3
-m
pip
install
--no-cache-dir
-e
"python[
${
BUILD_TYPE
}
]"
--extra-index-url
https://download.pytorch.org/whl/cu
${
CUINDEX
}
\
&&
python3
-m
pip
install
--no-cache-dir
-e
"python[
${
BUILD_TYPE
}
]"
--extra-index-url
https://download.pytorch.org/whl/cu
${
CUINDEX
}
\
&&
python3
-m
pip
install
--no-cache-dir
nvidia-nccl-cu12
==
2.27.6
--force-reinstall
--no-deps
\
&&
python3
-m
pip
install
--no-cache-dir
nvidia-nccl-cu12
==
2.27.6
--force-reinstall
--no-deps
\
&&
python3
-m
flashinfer
--download-cubin
\
&&
python3
-m
flashinfer
--download-cubin
\
&&
if
[
"
$CUDA_VERSION
"
=
"12.6.1"
]
;
then
\
&&
if
[
"
$CUDA_VERSION
"
=
"12.8.1"
]
;
then
\
python3
-m
pip
install
--no-cache-dir
https://github.com/sgl-project/whl/releases/download/v0.3.9/sgl_kernel-0.3.9+cu124-cp310-abi3-manylinux2014_x86_64.whl
--force-reinstall
--no-deps
;
\
python3
-m
pip
install
--no-cache-dir
https://github.com/sgl-project/whl/releases/download/v0.3.8/sgl_kernel-0.3.8+cu128-cp310-abi3-manylinux2014_x86_64.whl
--force-reinstall
--no-deps
;
\
fi
\
&&
if
[
"
$CUDA_VERSION
"
=
"12.9.1"
]
;
then
\
python3
-m
pip
install
--no-cache-dir
https://github.com/sgl-project/whl/releases/download/v0.3.8/sgl_kernel-0.3.8+cu129-cp310-abi3-manylinux2014_x86_64.whl
--force-reinstall
--no-deps
;
\
fi
fi
# Download source files
# Download source files
...
...
docker/Dockerfile.gb200
View file @
bcf1955f
...
@@ -4,7 +4,7 @@ FROM nvidia/cuda:${CUDA_VERSION}-cudnn-devel-ubuntu22.04
...
@@ -4,7 +4,7 @@ FROM nvidia/cuda:${CUDA_VERSION}-cudnn-devel-ubuntu22.04
ARG BUILD_TYPE=blackwell
ARG BUILD_TYPE=blackwell
ARG DEEPEP_COMMIT=1b14ad661c7640137fcfe93cccb2694ede1220b0
ARG DEEPEP_COMMIT=1b14ad661c7640137fcfe93cccb2694ede1220b0
ARG CMAKE_BUILD_PARALLEL_LEVEL=2
ARG CMAKE_BUILD_PARALLEL_LEVEL=2
ARG SGL_KERNEL_VERSION=0.3.
9
ARG SGL_KERNEL_VERSION=0.3.
8
ENV DEBIAN_FRONTEND=noninteractive \
ENV DEBIAN_FRONTEND=noninteractive \
CUDA_HOME=/usr/local/cuda \
CUDA_HOME=/usr/local/cuda \
GDRCOPY_HOME=/usr/src/gdrdrv-2.4.4/ \
GDRCOPY_HOME=/usr/src/gdrdrv-2.4.4/ \
...
...
python/pyproject.toml
View file @
bcf1955f
...
@@ -58,7 +58,7 @@ runtime_common = [
...
@@ -58,7 +58,7 @@ runtime_common = [
srt
=
[
srt
=
[
"sglang[runtime_common]"
,
"sglang[runtime_common]"
,
"sgl-kernel==0.3.
9
"
,
"sgl-kernel==0.3.
8
"
,
"torch==2.8.0"
,
"torch==2.8.0"
,
"torchaudio==2.8.0"
,
"torchaudio==2.8.0"
,
"torchvision"
,
"torchvision"
,
...
...
python/sglang/srt/entrypoints/engine.py
View file @
bcf1955f
...
@@ -682,7 +682,7 @@ def _set_envs_and_config(server_args: ServerArgs):
...
@@ -682,7 +682,7 @@ def _set_envs_and_config(server_args: ServerArgs):
if
_is_cuda
and
not
get_bool_env_var
(
"SGLANG_SKIP_SGL_KERNEL_VERSION_CHECK"
):
if
_is_cuda
and
not
get_bool_env_var
(
"SGLANG_SKIP_SGL_KERNEL_VERSION_CHECK"
):
assert_pkg_version
(
assert_pkg_version
(
"sgl-kernel"
,
"sgl-kernel"
,
"0.3.
9
"
,
"0.3.
8
"
,
"Please reinstall the latest version with `pip install sgl-kernel --force-reinstall`"
,
"Please reinstall the latest version with `pip install sgl-kernel --force-reinstall`"
,
)
)
...
...
scripts/ci/ci_install_dependency.sh
View file @
bcf1955f
...
@@ -51,7 +51,7 @@ SGLANG_ROUTER_BUILD_NO_RUST=1 $PIP_CMD install -e "sgl-router" $PIP_INSTALL_SUFF
...
@@ -51,7 +51,7 @@ SGLANG_ROUTER_BUILD_NO_RUST=1 $PIP_CMD install -e "sgl-router" $PIP_INSTALL_SUFF
if
[
"
$IS_BLACKWELL
"
=
"1"
]
;
then
if
[
"
$IS_BLACKWELL
"
=
"1"
]
;
then
# TODO auto determine sgl-kernel version
# TODO auto determine sgl-kernel version
SGL_KERNEL_VERSION
=
0.3.
9
SGL_KERNEL_VERSION
=
0.3.
8
$PIP_CMD
install
https://github.com/sgl-project/whl/releases/download/v
${
SGL_KERNEL_VERSION
}
/sgl_kernel-
${
SGL_KERNEL_VERSION
}
+cu128-cp310-abi3-manylinux2014_x86_64.whl
--force-reinstall
$PIP_INSTALL_SUFFIX
$PIP_CMD
install
https://github.com/sgl-project/whl/releases/download/v
${
SGL_KERNEL_VERSION
}
/sgl_kernel-
${
SGL_KERNEL_VERSION
}
+cu128-cp310-abi3-manylinux2014_x86_64.whl
--force-reinstall
$PIP_INSTALL_SUFFIX
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment