pub struct Fp8TwinSet {
pub q: bool,
pub k: bool,
pub v: bool,
pub o: bool,
}Expand description
2026-09-25: Which of the four attention projections get an FP8 [K, N]
transposed twin built by Qwen3AttentionLayer::transpose_fp8_for_prefill.
One flag per projection because different prefill arms read them; for
example the first-chunk chain reads the Q twin only with
METRALE_ATTN_PREFILL_Q_T=1.
Fields§
§q: bool§k: bool§v: bool§o: boolImplementations§
Trait Implementations§
Source§impl Clone for Fp8TwinSet
impl Clone for Fp8TwinSet
Source§fn clone(&self) -> Fp8TwinSet
fn clone(&self) -> Fp8TwinSet
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 Fp8TwinSet
impl Debug for Fp8TwinSet
Source§impl Default for Fp8TwinSet
impl Default for Fp8TwinSet
Source§fn default() -> Fp8TwinSet
fn default() -> Fp8TwinSet
Returns the “default value” for a type. Read more
Source§impl PartialEq for Fp8TwinSet
impl PartialEq for Fp8TwinSet
impl Copy for Fp8TwinSet
impl Eq for Fp8TwinSet
impl StructuralPartialEq for Fp8TwinSet
Auto Trait Implementations§
impl Freeze for Fp8TwinSet
impl RefUnwindSafe for Fp8TwinSet
impl Send for Fp8TwinSet
impl Sync for Fp8TwinSet
impl Unpin for Fp8TwinSet
impl UnwindSafe for Fp8TwinSet
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.