Skip to content
DistML Course
Course contents
On this page

Part 3 · ML Parallelism · Chapter 13

Expert Parallelism

Introduction

Expert parallelism distributes experts across GPUs and routes tokens to them. This chapter will follow mixture-of-experts execution, examine placement and load balance, and connect expert parallelism to the other ways of partitioning a model.

We will cover:

  • Mixture-of-experts execution: Following routing, dispatch, expert computation, and combine.
  • Expert placement and balance: Assigning experts to GPUs and handling uneven token loads.
  • Composing parallel dimensions: Combining expert parallelism with other forms of parallelism.
  • Worked example and experiments: Implementing the execution flow and measuring communication and balance.

Stay tuned for the full chapter!