# Expert Parallelism

- **Canonical URL:** https://getaimath.com/dictionary/expert-parallelism/
- **Topics:** [Mixture of Experts (MoE)](https://getaimath.com/dictionary/category/mixture-of-experts-moe/), [AI Infrastructure & Runtime](https://getaimath.com/dictionary/category/ai-infrastructure-and-runtime/)
- **Last updated:** 2026-11-25

## What is Expert Parallelism?

**In one sentence:** Expert parallelism spreads the experts of an MoE model across different GPUs, so each GPU holds and runs some of the experts.

Big MoE models have too many experts for one GPU. With expert parallelism, tokens are sent to whichever GPU holds the expert they need, then results are sent back.

![Mixture of Experts (MoE): A Team of Specialists (Only 2 Wake Up) — Simple cartoon showing a question arriving at a Front Desk Receptionist (Router) who wakes up only 2 out of 8 specialist doctors (Math and Finance) while the other 6 specialists stay asleep to save energy.](https://getaimath.com/diagrams/mixture-of-experts-moe.png)
*Napkin Diagram (Mixture of Experts (MoE)): Mixture-of-Experts wakes up only 2 of its 8 specialists for each word (real experts’ specialties are messier than neat topics).*

## What is an example of Expert Parallelism?

A model with 64 experts per layer might put 8 experts on each of 8 GPUs.

## Why does Expert Parallelism matter?

It makes very large MoE models possible to train and serve.

## Related Concepts

- [Auxiliary Loss](https://getaimath.com/dictionary/auxiliary-loss/): An auxiliary loss is an extra training penalty added to encourage a side goal, such as balancing work across experts.
- [Expert Communication](https://getaimath.com/dictionary/expert-communication/): Expert communication is the data sent between GPUs when tokens travel to the experts they need and back.
- [Data Parallelism](https://getaimath.com/dictionary/data-parallelism/): Data parallelism trains copies of the same model on different GPUs, each with different data, then combines what they learned.
- [Distributed Inference](https://getaimath.com/dictionary/distributed-inference/): Distributed inference runs a single model across multiple GPUs or machines to answer requests.
- [Routed Experts](https://getaimath.com/dictionary/routed-experts/): Routed experts are the experts that are only used when the router selects them for a token.
- [Dense vs Sparse Architecture](https://getaimath.com/dictionary/dense-vs-sparse-architecture/): Dense vs sparse architecture compares models that use all parameters for every token with models that only use some.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/expert-parallelism/)
