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
56eb5d0a
Unverified
Commit
56eb5d0a
authored
Sep 03, 2025
by
Xinyuan Tong
Committed by
GitHub
Sep 03, 2025
Browse files
fix swa clear(): rename is_in_free_group to is_not_in_free_group (#9914)
parent
4ed9053e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/mem_cache/allocator.py
python/sglang/srt/mem_cache/allocator.py
+1
-1
No files found.
python/sglang/srt/mem_cache/allocator.py
View file @
56eb5d0a
...
...
@@ -283,7 +283,7 @@ class SWATokenToKVPoolAllocator(BaseTokenToKVPoolAllocator):
self
.
swa_attn_allocator
.
clear
()
self
.
full_attn_allocator
.
clear
()
self
.
full_to_swa_index_mapping
.
fill_
(
0
)
self
.
is_in_free_group
=
Fals
e
self
.
is_
not_
in_free_group
=
Tru
e
self
.
free_group
=
[]
...
...
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