MOE_TOPK_SIGMOID_MAX_EXPERTS

Constant MOE_TOPK_SIGMOID_MAX_EXPERTS 

Source
pub const MOE_TOPK_SIGMOID_MAX_EXPERTS: usize = 512;
Expand description

Largest num_experts the sigmoid routing kernels can hold, from #define MAX_EXPERTS in the same file. Beyond it the kernel silently considers only the first MAX_EXPERTS experts (actual_n is a min), so routing stays memory-safe but stops matching the checkpoint.