Avoid implicit field-based side channel in Scheduler planning (#29408)
This commit is contained in:
@@ -83,7 +83,9 @@ class SchedulerMultiplexMixin:
|
||||
return False
|
||||
|
||||
# add new request
|
||||
batch = self.get_new_batch_prefill()
|
||||
prefill_plan = self.get_new_batch_prefill(self.running_batch)
|
||||
batch = prefill_plan.batch_to_run
|
||||
self.running_batch = prefill_plan.running_batch
|
||||
if batch and not batch.is_empty():
|
||||
batch.forward_mode = (
|
||||
ForwardMode.SPLIT_PREFILL
|
||||
|
||||
Reference in New Issue
Block a user