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
"docs/source/api/vscode:/vscode.git/clone" did not exist on "00fc680aae15c4e463c8efc1218a4da143fedb8c"
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):
...
@@ -56,7 +56,8 @@ class ChunkCache(BasePrefixCache):
entry
=
self
.
entries
[
req
.
rid
]
entry
=
self
.
entries
[
req
.
rid
]
entry
.
value
=
kv_indices
entry
.
value
=
kv_indices
return
kv_indices
,
entry
req
.
prefix_indices
=
kv_indices
req
.
last_node
=
entry
def
insert
(
self
):
def
insert
(
self
):
raise
NotImplementedError
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