File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -182,10 +182,10 @@ def step_with_batch_queue(self) -> Optional[EngineCoreOutputs]:
182
182
Note that if nothing to output in this step, None is returned.
183
183
184
184
The execution flow is as follows:
185
- 1. Try to schedule a new batch if there are unscheduled requests
186
- and the job queue is not full. If a new batch is scheduled, directly
187
- return an empty engine core output. In other words, we won't check
188
- and return model outputs before the batch queue is full .
185
+ 1. Try to schedule a new batch if the batch queue is not full.
186
+ If a new batch is scheduled, directly return an empty engine core
187
+ output. In other words, fulfilling the batch queue has a higher priority
188
+ then getting model outputs.
189
189
2. If there is no new scheduled batch, meaning that the batch queue
190
190
is full or no other requests can be scheduled, we block until the first
191
191
batch in the job queue is finished.
You can’t perform that action at this time.
0 commit comments