load_glm5next_mtp_module

Function load_glm5next_mtp_module 

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

2026-09-25: Build the MTP block, or None when the checkpoint has no layers.{num_hidden_layers}.

Runs on every rank: build_moe binds only this rank’s local_expert_range(), so each rank holds its own share of the routed experts, as in the text stack.