Skip to main content

mount_resident_model

Function mount_resident_model 

Source
pub fn mount_resident_model(
    model_id: u64,
    path: &str,
    mlock: bool,
) -> Result<GgufLoadReport, String>
Expand description

Memory-map a local model and select P64 or GGUF by canonical magic.

This is the preferred format-neutral entry point. The historical mount_resident_q42 function remains as a compatibility alias for callers that already know they have a P64 container.