pub enum Phase {
Prologue,
SteadyState,
Epilogue,
}Expand description
Where in a streaming forward pass a node belongs.
Variants§
Prologue
One-time setup: embedding lookup, KV init, prompt prefill.
SteadyState
Per-token decode loop body.
Epilogue
Final projection, sampling, detokenization.
Implementations§
Trait Implementations§
impl Copy for Phase
impl Eq for Phase
impl StructuralPartialEq for Phase
Auto Trait Implementations§
impl Freeze for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnsafeUnpin for Phase
impl UnwindSafe for Phase
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