loader_for_config

Function loader_for_config 

Source
pub fn loader_for_config(
    config: &ModelConfig,
) -> Result<Box<dyn ModelWeightLoader>>
Expand description

2026-09-25: The weight loader for config.model_type, matched after lower-casing it and turning - and . into _. An unknown type is an error.