pub struct InstantLoopConfig {
pub micro_lora_rank: usize,
pub micro_lora_lr: f32,
pub buffer_capacity: usize,
pub flush_threshold: usize,
}Expand description
Configuration for instant loop
Fields§
§micro_lora_rank: usizeMicro-LoRA rank
micro_lora_lr: f32Micro-LoRA learning rate
buffer_capacity: usizeBuffer capacity
flush_threshold: usizeFlush threshold (apply updates every N signals)
Trait Implementations§
Source§impl Clone for InstantLoopConfig
impl Clone for InstantLoopConfig
Source§fn clone(&self) -> InstantLoopConfig
fn clone(&self) -> InstantLoopConfig
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 InstantLoopConfig
impl Debug for InstantLoopConfig
Source§impl Default for InstantLoopConfig
impl Default for InstantLoopConfig
Source§impl From<&SonaConfig> for InstantLoopConfig
impl From<&SonaConfig> for InstantLoopConfig
Source§fn from(config: &SonaConfig) -> Self
fn from(config: &SonaConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InstantLoopConfig
impl RefUnwindSafe for InstantLoopConfig
impl Send for InstantLoopConfig
impl Sync for InstantLoopConfig
impl Unpin for InstantLoopConfig
impl UnwindSafe for InstantLoopConfig
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