load_glm5_next_vision

Function load_glm5_next_vision 

Source
pub fn load_glm5_next_vision(
    store: &WeightStore,
    config: &ModelConfig,
    gpu: &dyn GpuBackend,
) -> Result<Option<VisionTower>>
Expand description

2026-09-25: The body of Glm5NextWeightLoader::load_vision_encoder.

Ok(None) when the config has no vision_config, and, with a warning, when it has one but no tower prefix holds patch_embed.proj.weight.