pub trait WeightLoader {
// Required method
fn load(
&self,
model_dir: &Path,
gpu: &dyn GpuBackend,
oom_reserve_bytes: usize,
) -> Result<WeightStore>;
}Expand description
SBIO IORouter trait for weight loading.