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
ac6962cc
Unverified
Commit
ac6962cc
authored
Aug 02, 2025
by
PGFLMG
Committed by
GitHub
Aug 02, 2025
Browse files
[Doc] Polish sgl-kernel readme for cu126 build error (#8704)
parent
4ca43b06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
sgl-kernel/README.md
sgl-kernel/README.md
+9
-1
No files found.
sgl-kernel/README.md
View file @
ac6962cc
...
...
@@ -58,7 +58,15 @@ And if you build the sgl-kernel with cmake, you need to add `CMAKE_BUILD_PARALLE
CMAKE_BUILD_PARALLEL_LEVEL
=
$(
nproc
)
python
-m
uv build
--wheel
-Cbuild-dir
=
build
--color
=
always .
```
### FlashAttention on Hopper
### ⚠️ Compilation Issue with `sgl-kernel` and CUDA 12.6
When compiling
`sgl-kernel`
with FlashAttention on a Hopper GPU using CUDA 12.6, you may encounter a segmentation fault:
```
bash
kernel/build/_deps/repo-flash-attention-src/hopper/instantiations/flash_fwd_hdimall_bf16_paged_softcap_sm90.cu
-o
CMakeFiles/flash_ops.dir/_deps/repo-flash-attention-src/hopper/instantiations/flash_fwd_hdimall_bf16_paged_softcap_sm90.cu.o
Segmentation fault
(
core dumped
)
```
⚠️
**Note**
: To ensure that FlashAttention compiles correctly on Hopper GPU Architecture(sm90), it is strongly
[
recommended
](
https://github.com/Dao-AILab/flash-attention/issues/1453
)
to use:
-
nvcc version: 12.6
-
ptxas version: 12.8
...
...
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