Bottlenecks that dense models lack
Production-scale MoE training introduces bottlenecks that don’t exist with dense models: token routing, expert dispatch and gather, all-to-all communication, and ragged expert GEMMs. [1]
Uneven expert loads
No two batches produce the same expert loads, and within a single batch, one expert might receive many more tokens than another. [2]
No clean GEMM and expert parallelism
Each expert receives a different number of tokens, so there is no clean rectangular GEMM to batch and dispatch. [3]
With expert parallelism (EP), tokens must be dispatched and outputs must be combined and restored to original token order. [4]
Sources
- The NVIDIA source says: Production-scale MoE training introduces bottlenecks that don’t exist with dense models: token routing, expert dispatch and gather, all-to-all communication, and ragged expert GEMMs. Accelerating Dropless MoE Training in JAX
- The NVIDIA source says: No two batches produce the same expert loads, and within a single batch, one expert might receive many more tokens than another. Accelerating Dropless MoE Training in JAX
- The NVIDIA source says: Each expert receives a different number of tokens, so there is no clean rectangular GEMM to batch and dispatch. Accelerating Dropless MoE Training in JAX
- The NVIDIA source says: With expert parallelism (EP), tokens must be dispatched and outputs must be combined and restored to original token order. Accelerating Dropless MoE Training in JAX