From the source
Cerebras published a guide on scaling mixture-of-experts models, arguing that expert parallelism on GPUs breaks down as expert counts grow and that its Wafer Scale Engine avoids the need for distributed computing.
- The guide walks through why a simple MoE implementation fails at production scale: because routing is not deterministic, all experts must be held in memory, so memory use grows linearly with expert count and a single GPU runs out quickly.
- It describes expert parallelism, where experts are split across GPUs and an all-to-all operation shuffles tokens to the right device, and says the approach forces a trade-off between model quality and infrastructure efficiency.
- Load balancing that keeps GPUs busy can push tokens to suboptimal experts and hurt quality, while imbalanced experts leave some GPUs idle and others overloaded, and communication overhead worsens as experts multiply.
- Cerebras says its WSE has about 900 times more on-chip SRAM than a latest single GPU, letting it store larger models directly and scale with data parallelism alone.
- For larger models it uses weight streaming, which keeps parameters in external memory units and streams them to the wafer during training, with gradients streamed back to update the weights.