pub struct LittleBitConfigOverrides {
pub quant_func: Option<QuantFunc>,
pub eff_bit: Option<Option<f64>>,
pub eff_bit_layers: Option<Option<String>>,
pub split_dim: Option<usize>,
pub residual: Option<bool>,
pub kv_factor: Option<f64>,
pub min_split_dim: Option<usize>,
pub quant_mod: Option<String>,
pub use_itq: Option<bool>,
pub itq_n_iter: Option<usize>,
}Expand description
Optional CLI or API overrides applied with highest priority over config files.
Fields§
§quant_func: Option<QuantFunc>Override quant_func.
eff_bit: Option<Option<f64>>Override eff_bit (Some(Some(x)) sets target, Some(None) clears target).
eff_bit_layers: Option<Option<String>>Override eff_bit_layers (Some(Some(spec)) sets spec, Some(None) clears spec).
split_dim: Option<usize>Override split_dim.
residual: Option<bool>Override residual.
kv_factor: Option<f64>Override kv_factor.
min_split_dim: Option<usize>Override min_split_dim.
quant_mod: Option<String>Override quant_mod.
use_itq: Option<bool>Override use_itq.
itq_n_iter: Option<usize>Override itq_n_iter.
Trait Implementations§
Source§impl Clone for LittleBitConfigOverrides
impl Clone for LittleBitConfigOverrides
Source§impl Debug for LittleBitConfigOverrides
impl Debug for LittleBitConfigOverrides
Source§impl Default for LittleBitConfigOverrides
impl Default for LittleBitConfigOverrides
Source§impl PartialEq for LittleBitConfigOverrides
impl PartialEq for LittleBitConfigOverrides
impl StructuralPartialEq for LittleBitConfigOverrides
Auto Trait Implementations§
impl Freeze for LittleBitConfigOverrides
impl RefUnwindSafe for LittleBitConfigOverrides
impl Send for LittleBitConfigOverrides
impl Sync for LittleBitConfigOverrides
impl Unpin for LittleBitConfigOverrides
impl UnsafeUnpin for LittleBitConfigOverrides
impl UnwindSafe for LittleBitConfigOverrides
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more