pub struct LoraBuildArgs<'a> {
pub adapters: Vec<LoraAdapterInput<'a>>,
pub max_lora_rank: usize,
pub max_loras: usize,
}Expand description
2026-09-25: LoRA inputs for build_model (--lora-adapter NAME=PATH):
the adapters and the pool-shape CLI values.
build_model allocates the LoRA pool before the buffer arena and the
free-memory sample the KV budget is computed from, so the pool is counted
against the budget.
Fields§
§adapters: Vec<LoraAdapterInput<'a>>2026-09-25: The adapters to pack, one per --lora-adapter NAME=PATH;
slot k is adapters[k].
max_lora_rank: usize§max_loras: usizeAuto Trait Implementations§
impl<'a> Freeze for LoraBuildArgs<'a>
impl<'a> !RefUnwindSafe for LoraBuildArgs<'a>
impl<'a> Send for LoraBuildArgs<'a>
impl<'a> Sync for LoraBuildArgs<'a>
impl<'a> Unpin for LoraBuildArgs<'a>
impl<'a> !UnwindSafe for LoraBuildArgs<'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