pub struct MixedBatchResult {
pub decode_logits: DevicePtr,
pub prefill_logits: Vec<DevicePtr>,
}Expand description
2026-09-25: Result of a batched mixed forward pass: M decode rows plus N prefill chunks.
Fields§
§decode_logits: DevicePtr2026-09-25: Logits for the decode rows, [M, vocab]; NULL when there are none.
prefill_logits: Vec<DevicePtr>2026-09-25: One entry per prefill stream, in input order: [1, vocab] logits when that
stream’s chunk was its last, NULL otherwise.
Auto Trait Implementations§
impl Freeze for MixedBatchResult
impl RefUnwindSafe for MixedBatchResult
impl Send for MixedBatchResult
impl Sync for MixedBatchResult
impl Unpin for MixedBatchResult
impl UnwindSafe for MixedBatchResult
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