From the source
Cerebras has published a guide to Mixture-of-Experts inference arithmetic, explaining what an 8x7B model's numbers mean and how much memory and compute deployment needs.
- The post says the label is widely misread as 8 experts with 7B active parameters per token, when it is actually 13B active parameters.
- It walks through memory for model weights and kv-cache, starting from a single decoder block and adding embedding and unembedding matrices, and notes that dynamic routing forces operators to provision memory for every expert, so MoE models need more capacity than dense networks with equivalent active parameters.
- Compute is split into prefill, where the whole prompt is processed at once, and decode, where tokens are generated one at a time, with FLOPs converted into throughput and latency.
- Cerebras says single-GPU deployment is memory-bound, multi-GPU setups are communication-bound, and specialised hardware such as its WSE is compute-bound.
- The post is the fifth part of a series that previously covered training and scaling MoE models.