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
1d6515ef
Unverified
Commit
1d6515ef
authored
Jun 20, 2025
by
Huang Long
Committed by
GitHub
Jun 19, 2025
Browse files
[Bugfix]Fix hang bug using dp attention with HiRadixCache (#7159)
Signed-off-by:
huanglong
<
huanglong@linux.alibaba.com
>
parent
dea8aa7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
python/sglang/srt/managers/scheduler.py
python/sglang/srt/managers/scheduler.py
+5
-1
No files found.
python/sglang/srt/managers/scheduler.py
View file @
1d6515ef
...
...
@@ -558,7 +558,11 @@ class Scheduler(
self
.
tree_cache
=
HiRadixCache
(
req_to_token_pool
=
self
.
req_to_token_pool
,
token_to_kv_pool_allocator
=
self
.
token_to_kv_pool_allocator
,
tp_cache_group
=
self
.
tp_cpu_group
,
tp_cache_group
=
(
self
.
attn_tp_cpu_group
if
self
.
server_args
.
enable_dp_attention
else
self
.
tp_cpu_group
),
page_size
=
self
.
page_size
,
hicache_ratio
=
server_args
.
hicache_ratio
,
hicache_size
=
server_args
.
hicache_size
,
...
...
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