scheduler: add prefill-only update in merge batch (#21840)
This commit is contained in:
@@ -2266,6 +2266,7 @@ class ScheduleBatch(ScheduleBatchDisaggregationDecodeMixin):
|
|||||||
self.has_stream |= other.has_stream
|
self.has_stream |= other.has_stream
|
||||||
self.has_grammar |= other.has_grammar
|
self.has_grammar |= other.has_grammar
|
||||||
self.return_hidden_states |= other.return_hidden_states
|
self.return_hidden_states |= other.return_hidden_states
|
||||||
|
self.is_prefill_only = self.is_prefill_only and other.is_prefill_only
|
||||||
|
|
||||||
if self.spec_info:
|
if self.spec_info:
|
||||||
self.spec_info.merge_batch(other.spec_info)
|
self.spec_info.merge_batch(other.spec_info)
|
||||||
|
|||||||
Reference in New Issue
Block a user