pub struct Quantizer7Bit {
pub scales: Vec<f32>,
pub block_size: usize,
}Expand description
7-bit quantizer for reasoning
Uses signed int8 container with values in -64..63. Stable accumulators, close to int8 quality.
Fields§
§scales: Vec<f32>Per-block scale factors
block_size: usizeBlock size
Implementations§
Trait Implementations§
Source§impl Clone for Quantizer7Bit
impl Clone for Quantizer7Bit
Source§fn clone(&self) -> Quantizer7Bit
fn clone(&self) -> Quantizer7Bit
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 moreAuto Trait Implementations§
impl Freeze for Quantizer7Bit
impl RefUnwindSafe for Quantizer7Bit
impl Send for Quantizer7Bit
impl Sync for Quantizer7Bit
impl Unpin for Quantizer7Bit
impl UnwindSafe for Quantizer7Bit
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