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
ebff4ee6
Unverified
Commit
ebff4ee6
authored
Oct 21, 2025
by
Baizhou Zhang
Committed by
GitHub
Oct 21, 2025
Browse files
Update sgl-kernel and remove fast hadamard depedency (#11844)
parent
2b1da821
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
20 deletions
+4
-20
docker/Dockerfile
docker/Dockerfile
+1
-9
python/pyproject.toml
python/pyproject.toml
+1
-1
python/sglang/srt/entrypoints/engine.py
python/sglang/srt/entrypoints/engine.py
+1
-1
python/sglang/srt/layers/attention/nsa/nsa_indexer.py
python/sglang/srt/layers/attention/nsa/nsa_indexer.py
+1
-1
scripts/ci/ci_install_dependency.sh
scripts/ci/ci_install_dependency.sh
+0
-8
No files found.
docker/Dockerfile
View file @
ebff4ee6
...
...
@@ -9,7 +9,7 @@ ARG DEEPEP_COMMIT=9af0e0d0e74f3577af1979c9b9e1ac2cad0104ee
ARG
FLASHMLA_COMMIT=1408756a88e52a25196b759eaf8db89d2b51b5a1
ARG
FAST_HADAMARD_TRANSFORM_COMMIT=7fd811c2b47f63b0b08d2582619f939e14dad77c
ARG
CMAKE_BUILD_PARALLEL_LEVEL=2
ARG
SGL_KERNEL_VERSION=0.3.1
5
ARG
SGL_KERNEL_VERSION=0.3.1
6.post3
ENV
DEBIAN_FRONTEND=noninteractive \
CUDA_HOME=/usr/local/cuda \
GDRCOPY_HOME=/usr/src/gdrdrv-2.4.4/ \
...
...
@@ -152,14 +152,6 @@ RUN if [ "$TARGETARCH" = "amd64" ]; then \
pip
install
-v
.
;
\
fi
# Install fast-hadamard-transform
RUN if
[
"
$TARGETARCH
"
=
"amd64"
]
;
then
\
git clone https://github.com/Dao-AILab/fast-hadamard-transform
&&
\
cd
fast-hadamard-transform
&&
\
git checkout
${
FAST_HADAMARD_TRANSFORM_COMMIT
}
&&
\
pip
install
.
;
\
fi
# Python tools
RUN
python3
-m
pip
install
--no-cache-dir
\
datamodel_code_generator
\
...
...
python/pyproject.toml
View file @
ebff4ee6
...
...
@@ -55,7 +55,7 @@ dependencies = [
"scipy"
,
"sentencepiece"
,
"setproctitle"
,
"sgl-kernel==0.3.1
5
"
,
"sgl-kernel==0.3.1
6.post3
"
,
"soundfile==0.13.1"
,
"tiktoken"
,
"timm==1.0.16"
,
...
...
python/sglang/srt/entrypoints/engine.py
View file @
ebff4ee6
...
...
@@ -693,7 +693,7 @@ def _set_envs_and_config(server_args: ServerArgs):
if
_is_cuda
and
not
get_bool_env_var
(
"SGLANG_SKIP_SGL_KERNEL_VERSION_CHECK"
):
assert_pkg_version
(
"sgl-kernel"
,
"0.3.1
5
"
,
"0.3.1
6.post3
"
,
"Please reinstall the latest version with `pip install sgl-kernel --force-reinstall`"
,
)
...
...
python/sglang/srt/layers/attention/nsa/nsa_indexer.py
View file @
ebff4ee6
...
...
@@ -74,7 +74,7 @@ class BaseIndexerMetadata(ABC):
def
rotate_activation
(
x
:
torch
.
Tensor
)
->
torch
.
Tensor
:
assert
x
.
dtype
==
torch
.
bfloat16
from
fast_hadamard_transform
import
hadamard_transform
from
sgl_kernel
import
hadamard_transform
hidden_size
=
x
.
size
(
-
1
)
assert
(
...
...
scripts/ci/ci_install_dependency.sh
View file @
ebff4ee6
...
...
@@ -96,14 +96,6 @@ if [ "$RUN_DEEPSEEK_V32" = "1" ]; then
git submodule update
--init
--recursive
FLASH_MLA_DISABLE_SM100
=
${
FLASH_MLA_DISABLE_SM100
}
$PIP_CMD
install
-v
.
$PIP_INSTALL_SUFFIX
--no-build-isolation
cd
..
# Install fast-hadamard-transform
FAST_HADAMARD_TRANSFORM_COMMIT
=
"7fd811c2b47f63b0b08d2582619f939e14dad77c"
git clone https://github.com/Dao-AILab/fast-hadamard-transform
cd
fast-hadamard-transform
git checkout
${
FAST_HADAMARD_TRANSFORM_COMMIT
}
$PIP_CMD
install
.
$PIP_INSTALL_SUFFIX
--no-build-isolation
cd
..
fi
# Show current packages
...
...
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