pub struct MoeCapture {
pub x: Vec<Vec<u16>>,
pub picks: Vec<Vec<u16>>,
pub w: Vec<Vec<f32>>,
}Expand description
What cortiq quantize-moe calibrates the routed experts on: per captured
layer the routed FFN’s normed input rows (dim f16 values a token), each
token’s top_k expert ids in route order (u16::MAX: none) and their
route weights.
Fields§
§x: Vec<Vec<u16>>§picks: Vec<Vec<u16>>§w: Vec<Vec<f32>>Trait Implementations§
Auto Trait Implementations§
impl Forget for MoeCapture
impl Freeze for MoeCapture
impl Move for MoeCapture
impl RefUnwindSafe for MoeCapture
impl Send for MoeCapture
impl Sync for MoeCapture
impl Unpin for MoeCapture
impl UnsafeUnpin for MoeCapture
impl UnwindSafe for MoeCapture
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