pub struct DeepseekV4MtpProposerState {
pub block_table: Vec<u32>,
pub seq_len: usize,
pub last_num_drafted: usize,
pub body_state: Box<dyn LayerState>,
}Expand description
2026-09-25: Per-sequence state for the DeepSeek-V4 MTP proposer: the block
table and length of the sequence in the MTP KV cache, the draft count of
the last propose (for after_verify), and the body’s layer state from
body.alloc_state.
Fields§
§block_table: Vec<u32>§seq_len: usize§last_num_drafted: usize§body_state: Box<dyn LayerState>Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeepseekV4MtpProposerState
impl !RefUnwindSafe for DeepseekV4MtpProposerState
impl Send for DeepseekV4MtpProposerState
impl Sync for DeepseekV4MtpProposerState
impl Unpin for DeepseekV4MtpProposerState
impl !UnwindSafe for DeepseekV4MtpProposerState
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