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
2e48584b
Unverified
Commit
2e48584b
authored
Oct 31, 2025
by
Bruce-x-1997
Committed by
GitHub
Oct 31, 2025
Browse files
[bugfix] set is_prefill_only=false when mixed_chunk (#10889)
parent
57cc5385
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
python/sglang/srt/managers/schedule_batch.py
python/sglang/srt/managers/schedule_batch.py
+1
-0
No files found.
python/sglang/srt/managers/schedule_batch.py
View file @
2e48584b
...
@@ -1415,6 +1415,7 @@ class ScheduleBatch(ScheduleBatchDisaggregationDecodeMixin):
...
@@ -1415,6 +1415,7 @@ class ScheduleBatch(ScheduleBatchDisaggregationDecodeMixin):
self
.
extend_num_tokens
+=
running_bs
self
.
extend_num_tokens
+=
running_bs
# TODO (lianmin): Revisit this. It should be seq_len - 1
# TODO (lianmin): Revisit this. It should be seq_len - 1
self
.
extend_logprob_start_lens
.
extend
([
0
]
*
running_bs
)
self
.
extend_logprob_start_lens
.
extend
([
0
]
*
running_bs
)
self
.
is_prefill_only
=
False
def
new_page_count_next_decode
(
self
,
selected_indices
:
Optional
[
List
[
int
]]
=
None
):
def
new_page_count_next_decode
(
self
,
selected_indices
:
Optional
[
List
[
int
]]
=
None
):
page_size
=
self
.
token_to_kv_pool_allocator
.
page_size
page_size
=
self
.
token_to_kv_pool_allocator
.
page_size
...
...
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