Struct candle_transformers::models::stable_lm::Config
source · pub struct Config { /* private fields */ }Implementations§
source§impl Config
impl Config
pub fn stablelm_3b_4e1t(use_flash_attn: bool) -> Self
pub fn head_dim(&self) -> usize
pub fn rotary_ndims(&self) -> usize
pub fn num_kv_groups(&self) -> usize
Trait Implementations§
source§impl PartialEq for Config
impl PartialEq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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