pub struct StateInputs {
pub formats: BTreeMap<String, StateDtype>,
pub slots: u64,
pub verify: Option<VerifyInputs>,
pub kv: Option<KvInputs>,
pub draft_kv: Option<KvInputs>,
}Expand description
2026-09-30: The plan inputs the engine decides.
Fields§
§formats: BTreeMap<String, StateDtype>2026-09-30: Storage format per key the circuit names (kv_cache_dtype, ssm_h_storage).
slots: u642026-09-30: Recurrent slots, the padding dummy included when the plan has one.
verify: Option<VerifyInputs>2026-09-30: The speculative verify pools; None without speculation.
kv: Option<KvInputs>2026-09-30: The target’s KV cache; None leaves the attention states out.
draft_kv: Option<KvInputs>2026-09-30: The draft head’s own KV cache; None leaves the draft’s states out.
Trait Implementations§
Source§impl Clone for StateInputs
impl Clone for StateInputs
Source§fn clone(&self) -> StateInputs
fn clone(&self) -> StateInputs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StateInputs
impl Debug for StateInputs
Source§impl PartialEq for StateInputs
impl PartialEq for StateInputs
impl Eq for StateInputs
impl StructuralPartialEq for StateInputs
Auto Trait Implementations§
impl Freeze for StateInputs
impl RefUnwindSafe for StateInputs
impl Send for StateInputs
impl Sync for StateInputs
impl Unpin for StateInputs
impl UnwindSafe for StateInputs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.