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
8d0b2f15
Commit
8d0b2f15
authored
Nov 10, 2025
by
lizhigong
Browse files
fix bug on flash attention use for chunkprefill and radix cache
parent
d297cda2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
python/sglang/srt/layers/attention/flashattention_interface.py
...n/sglang/srt/layers/attention/flashattention_interface.py
+3
-2
No files found.
python/sglang/srt/layers/attention/flashattention_interface.py
View file @
8d0b2f15
...
@@ -86,9 +86,10 @@ def flash_attn_varlen_func(
...
@@ -86,9 +86,10 @@ def flash_attn_varlen_func(
k
=
k
,
k
=
k
,
v
=
v
,
v
=
v
,
cu_seqlens_q
=
cu_seqlens_q
,
cu_seqlens_q
=
cu_seqlens_q
,
cu_seqlens_k
=
cu_seqlens_
q
,
cu_seqlens_k
=
cu_seqlens_
k
,
max_seqlen_q
=
max_seqlen_q
,
max_seqlen_q
=
max_seqlen_q
,
max_seqlen_k
=
max_seqlen_
q
,
max_seqlen_k
=
max_seqlen_
k
,
softmax_scale
=
softmax_scale
,
softmax_scale
=
softmax_scale
,
causal
=
causal
,
causal
=
causal
,
return_attn_probs
=
return_softmax_lse
,
)
)
\ No newline at end of file
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