pub struct LoraAdapterInput<'a> {
pub name: String,
pub store: &'a WeightStore,
pub peft: PeftAdapterConfig,
}Expand description
2026-09-25: One adapter to pack. store holds its tensors on the device as
BF16: metrale_model_weights::weights::adapter::load_adapter_safetensors
converts F16 and F32 on the host.
Fields§
§name: String§store: &'a WeightStore§peft: PeftAdapterConfigAuto Trait Implementations§
impl<'a> Freeze for LoraAdapterInput<'a>
impl<'a> !RefUnwindSafe for LoraAdapterInput<'a>
impl<'a> Send for LoraAdapterInput<'a>
impl<'a> Sync for LoraAdapterInput<'a>
impl<'a> Unpin for LoraAdapterInput<'a>
impl<'a> !UnwindSafe for LoraAdapterInput<'a>
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