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
d2679f51
"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "9fc9c6dd7186732b1397765aa089f6d45c27c3ea"
Unverified
Commit
d2679f51
authored
Jun 15, 2025
by
Baizhou Zhang
Committed by
GitHub
Jun 15, 2025
Browse files
Fix ChunkCache object has no attribute 'disable' (#7217)
parent
96be97bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
python/sglang/srt/mem_cache/chunk_cache.py
python/sglang/srt/mem_cache/chunk_cache.py
+1
-0
No files found.
python/sglang/srt/mem_cache/chunk_cache.py
View file @
d2679f51
...
@@ -29,6 +29,7 @@ class ChunkCache(BasePrefixCache):
...
@@ -29,6 +29,7 @@ class ChunkCache(BasePrefixCache):
self
.
req_to_token_pool
=
req_to_token_pool
self
.
req_to_token_pool
=
req_to_token_pool
self
.
token_to_kv_pool_allocator
=
token_to_kv_pool_allocator
self
.
token_to_kv_pool_allocator
=
token_to_kv_pool_allocator
self
.
page_size
=
page_size
self
.
page_size
=
page_size
self
.
disable
=
True
def
reset
(
self
):
def
reset
(
self
):
pass
pass
...
...
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