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
a2faf894
Unverified
Commit
a2faf894
authored
Oct 02, 2025
by
b8zhong
Committed by
GitHub
Oct 03, 2025
Browse files
[1/n] Enable DCA CUDA graph capture (#9537)
parent
7e61737d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
python/sglang/srt/layers/attention/dual_chunk_flashattention_backend.py
...srt/layers/attention/dual_chunk_flashattention_backend.py
+1
-1
python/sglang/srt/server_args.py
python/sglang/srt/server_args.py
+1
-2
No files found.
python/sglang/srt/layers/attention/dual_chunk_flashattention_backend.py
View file @
a2faf894
...
@@ -1537,7 +1537,7 @@ class DualChunkFlashAttentionBackend(AttentionBackend):
...
@@ -1537,7 +1537,7 @@ class DualChunkFlashAttentionBackend(AttentionBackend):
query_inter
,
query_inter
,
key_cache
,
key_cache
,
value_cache
,
value_cache
,
block_table
[:,
:
decode_meta
.
max_seq_len_inter
]
,
block_table
,
decode_meta
.
seq_lens_inter
,
decode_meta
.
seq_lens_inter
,
softmax_scale
,
softmax_scale
,
causal
=
False
,
causal
=
False
,
...
...
python/sglang/srt/server_args.py
View file @
a2faf894
...
@@ -878,10 +878,9 @@ class ServerArgs:
...
@@ -878,10 +878,9 @@ class ServerArgs:
if
self
.
attention_backend
==
"dual_chunk_flash_attn"
:
if
self
.
attention_backend
==
"dual_chunk_flash_attn"
:
logger
.
warning
(
logger
.
warning
(
"Mixed chunk
,
radix cache
, and cuda graphs
are disabled
because of
using dual
chunk flash attention backend"
"Mixed chunk
and
radix cache are disabled
when
using dual
-
chunk flash attention backend"
)
)
self
.
enable_mixed_chunk
=
False
self
.
enable_mixed_chunk
=
False
self
.
disable_cuda_graph
=
True
self
.
disable_radix_cache
=
True
self
.
disable_radix_cache
=
True
def
_handle_page_size
(
self
):
def
_handle_page_size
(
self
):
...
...
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