pub struct SonaOptimizations {
pub two_tier_lora: bool,
pub micro_lora_rank: usize,
pub ewc_enabled: bool,
pub ewc_lambda: f32,
pub pattern_clusters: usize,
pub enable_simd: bool,
}Expand description
SONA-specific optimizations
Fields§
§two_tier_lora: boolEnable two-tier LoRA (MicroLoRA + BaseLoRA)
micro_lora_rank: usizeMicroLoRA rank (1-2)
ewc_enabled: boolEnable EWC++ for catastrophic forgetting prevention
ewc_lambda: f32EWC lambda (benchmark optimal: 1000)
pattern_clusters: usizeNumber of pattern clusters (benchmark optimal: 100)
enable_simd: boolEnable SIMD optimizations
Trait Implementations§
Source§impl Clone for SonaOptimizations
impl Clone for SonaOptimizations
Source§fn clone(&self) -> SonaOptimizations
fn clone(&self) -> SonaOptimizations
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 SonaOptimizations
impl Debug for SonaOptimizations
Source§impl Default for SonaOptimizations
impl Default for SonaOptimizations
Source§impl<'de> Deserialize<'de> for SonaOptimizations
impl<'de> Deserialize<'de> for SonaOptimizations
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SonaOptimizations
impl RefUnwindSafe for SonaOptimizations
impl Send for SonaOptimizations
impl Sync for SonaOptimizations
impl Unpin for SonaOptimizations
impl UnwindSafe for SonaOptimizations
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