pub enum MtpOpType {
None,
Warmup,
UpdateAccepted,
DraftGen,
}Expand description
MTP decode-graph operation mode (maps to ik’s llama_mtp_op_type).
Variants§
None
Normal decode (no MTP graph).
Warmup
Prompt warmup — populate MTP KV + hidden state (no logits).
UpdateAccepted
Advance MTP state after accepted tokens.
DraftGen
Generate draft tokens from the NextN head.
Implementations§
Trait Implementations§
impl Copy for MtpOpType
impl Eq for MtpOpType
impl StructuralPartialEq for MtpOpType
Auto Trait Implementations§
impl Freeze for MtpOpType
impl RefUnwindSafe for MtpOpType
impl Send for MtpOpType
impl Sync for MtpOpType
impl Unpin for MtpOpType
impl UnsafeUnpin for MtpOpType
impl UnwindSafe for MtpOpType
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