pub fn load_adapter_safetensors(
adapter_dir: &Path,
gpu: &dyn GpuBackend,
oom_reserve_bytes: usize,
) -> Result<WeightStore>Expand description
Load a PEFT adapter’s adapter_model.safetensors from adapter_dir
onto the GPU. Mirrors the single-file path of SafetensorsLoader
(mmap → per-tensor alloc + copy_h2d → page-cache evict) with a
host-side F16→BF16 conversion branch added.