pub enum ExecutorBatchPrefillOutcome {
Completed(Vec<ExecutorPrefillCompletion>),
NotSubmitted(ExecutorExecutionDeferral),
Unsupported,
}Expand description
Transactional result of attempting one physical prefill batch.
NotSubmitted proves that no participant in the batch reached provider
encode or device submission. The caller may therefore retry a narrower
partition or the existing per-request capacity path without duplicating
model work. Unsupported keeps the optimization optional for legacy
executors while plan-runtime implementations provide the real batch edge.
Variants§
Auto Trait Implementations§
impl !RefUnwindSafe for ExecutorBatchPrefillOutcome
impl !UnwindSafe for ExecutorBatchPrefillOutcome
impl Freeze for ExecutorBatchPrefillOutcome
impl Send for ExecutorBatchPrefillOutcome
impl Sync for ExecutorBatchPrefillOutcome
impl Unpin for ExecutorBatchPrefillOutcome
impl UnsafeUnpin for ExecutorBatchPrefillOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more