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
6ed4e3b8
Unverified
Commit
6ed4e3b8
authored
Aug 07, 2024
by
Liangsheng Yin
Committed by
GitHub
Aug 07, 2024
Browse files
Fix chunked prefill (#984)
parent
00023d62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
python/sglang/srt/mem_cache/chunk_cache.py
python/sglang/srt/mem_cache/chunk_cache.py
+2
-1
No files found.
python/sglang/srt/mem_cache/chunk_cache.py
View file @
6ed4e3b8
...
...
@@ -56,7 +56,8 @@ class ChunkCache(BasePrefixCache):
entry
=
self
.
entries
[
req
.
rid
]
entry
.
value
=
kv_indices
return
kv_indices
,
entry
req
.
prefix_indices
=
kv_indices
req
.
last_node
=
entry
def
insert
(
self
):
raise
NotImplementedError
...
...
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