pub fn load_model(args: &Value, span: Span) -> Result<Value, Diagnostic>Expand description
Inference.load_model — load a GGUF/P64 model into resident memory.
Takes path (string) and optional model_id (u64) and mlock (bool).
Returns a record with model metadata (mapped_bytes, n_layer, n_head, etc.).
Native only — returns E300 on WASM.