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
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):
...
@@ -533,12 +533,12 @@ class MooncakeKVManager(BaseKVManager):
if
len
(
chunked_dst_kv_indice
)
<
len
(
if
len
(
chunked_dst_kv_indice
)
<
len
(
kv_chunk
.
prefill_kv_indices
kv_chunk
.
prefill_kv_indices
):
):
kv_chunk
.
prefill_kv_indices
=
kv_chunk
.
prefill_kv_indices
[
:
len
(
chunked_dst_kv_indice
)
]
logger
.
warning
(
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
)
}
"
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
=
(
target_rank_registration_info
:
KVArgsRegisterInfo
=
(
self
.
decode_kv_args_table
[
req
.
mooncake_session_id
]
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