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
c46e069d
"vscode:/vscode.git/clone" did not exist on "51b8c57df2a89c1f6b0a8fc819c8a84bd53b8a67"
Unverified
Commit
c46e069d
authored
Jul 13, 2025
by
fzyzcjy
Committed by
GitHub
Jul 12, 2025
Browse files
Tiny fix mooncake log warning wrong output (#7952)
parent
42fc4410
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
python/sglang/srt/disaggregation/mooncake/conn.py
python/sglang/srt/disaggregation/mooncake/conn.py
+3
-3
No files found.
python/sglang/srt/disaggregation/mooncake/conn.py
View file @
c46e069d
...
...
@@ -533,12 +533,12 @@ class MooncakeKVManager(BaseKVManager):
if
len
(
chunked_dst_kv_indice
)
<
len
(
kv_chunk
.
prefill_kv_indices
):
kv_chunk
.
prefill_kv_indices
=
kv_chunk
.
prefill_kv_indices
[
:
len
(
chunked_dst_kv_indice
)
]
logger
.
warning
(
f
"len(chunked_dst_kv_indice) =
{
len
(
chunked_dst_kv_indice
)
}
, len(kv_chunk.prefill_kv_indices) =
{
len
(
kv_chunk
.
prefill_kv_indices
)
}
"
)
kv_chunk
.
prefill_kv_indices
=
kv_chunk
.
prefill_kv_indices
[
:
len
(
chunked_dst_kv_indice
)
]
target_rank_registration_info
:
KVArgsRegisterInfo
=
(
self
.
decode_kv_args_table
[
req
.
mooncake_session_id
]
...
...
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