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
92941ce7
Unverified
Commit
92941ce7
authored
Mar 28, 2025
by
Yineng Zhang
Committed by
GitHub
Mar 28, 2025
Browse files
bump sgl-kernel 0.0.5.post4 (#4768)
parent
2bb0e7cf
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
4 deletions
+12
-4
sgl-kernel/CMakeLists.txt
sgl-kernel/CMakeLists.txt
+7
-0
sgl-kernel/Makefile
sgl-kernel/Makefile
+2
-1
sgl-kernel/pyproject.toml
sgl-kernel/pyproject.toml
+1
-1
sgl-kernel/pyproject_rocm.toml
sgl-kernel/pyproject_rocm.toml
+1
-1
sgl-kernel/python/sgl_kernel/version.py
sgl-kernel/python/sgl_kernel/version.py
+1
-1
No files found.
sgl-kernel/CMakeLists.txt
View file @
92941ce7
...
...
@@ -86,6 +86,7 @@ option(SGL_KERNEL_ENABLE_SM100A "Enable SM100A" OFF)
option
(
SGL_KERNEL_ENABLE_SM90A
"Enable SM90A"
OFF
)
option
(
SGL_KERNEL_ENABLE_BF16
"Enable BF16"
ON
)
option
(
SGL_KERNEL_ENABLE_FP8
"Enable FP8"
ON
)
option
(
SGL_KERNEL_ENABLE_FP4
"Enable FP4"
OFF
)
if
(
"
${
CUDA_VERSION
}
"
VERSION_GREATER_EQUAL
"12.8"
OR SGL_KERNEL_ENABLE_SM100A
)
list
(
APPEND SGL_KERNEL_CUDA_FLAGS
...
...
@@ -118,6 +119,12 @@ if (SGL_KERNEL_ENABLE_FP8)
)
endif
()
if
(
SGL_KERNEL_ENABLE_FP4
)
list
(
APPEND SGL_KERNEL_CUDA_FLAGS
"-DENABLE_NVFP4=1"
)
endif
()
string
(
REPLACE
"-D__CUDA_NO_HALF_OPERATORS__"
""
CMAKE_CUDA_FLAGS
"
${
CMAKE_CUDA_FLAGS
}
"
)
string
(
REPLACE
"-D__CUDA_NO_HALF_CONVERSIONS__"
""
CMAKE_CUDA_FLAGS
"
${
CMAKE_CUDA_FLAGS
}
"
)
string
(
REPLACE
"-D__CUDA_NO_BFLOAT16_CONVERSIONS__"
""
CMAKE_CUDA_FLAGS
"
${
CMAKE_CUDA_FLAGS
}
"
)
...
...
sgl-kernel/Makefile
View file @
92941ce7
...
...
@@ -45,7 +45,8 @@ format: check-deps ## Format all source files
@
pre-commit run
--all-files
FILES_TO_UPDATE
=
python/sgl_kernel/version.py
\
pyproject.toml
pyproject.toml
\
pyproject_rocm.toml
update
:
##
Update version numbers across project files. Usage: make update <new_version>
@
if
[
-z
"
$(
filter-out
$@
,
$(MAKECMDGOALS)
)
"
]
;
then
\
...
...
sgl-kernel/pyproject.toml
View file @
92941ce7
...
...
@@ -8,7 +8,7 @@ build-backend = "scikit_build_core.build"
[project]
name
=
"sgl-kernel"
version
=
"0.0.5.post
3
"
version
=
"0.0.5.post
4
"
description
=
"Kernel Library for SGLang"
readme
=
"README.md"
requires-python
=
">=3.9"
...
...
sgl-kernel/pyproject_rocm.toml
View file @
92941ce7
...
...
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
[project]
name
=
"sgl-kernel"
version
=
"0.0.5.post
3
"
version
=
"0.0.5.post
4
"
description
=
"Kernel Library for SGLang"
readme
=
"README.md"
requires-python
=
">=3.9"
...
...
sgl-kernel/python/sgl_kernel/version.py
View file @
92941ce7
__version__
=
"0.0.5.post
3
"
__version__
=
"0.0.5.post
4
"
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