Why it matters

EP is central MoE deployment. Understanding shapes MoE infra.

Advertisement

The architecture

Divide experts across GPUs.

Route tokens to expert GPUs.

Compute + return.

MoE EP flowExpertssharded across GPUsRoute tokensall-to-allCompute + returnall-to-all backEP degree = experts / experts per GPU; balance with TP + DP
MoE EP.
Advertisement

How it works end to end

EP size = num experts / experts per rank.

All-to-all: tokens to their experts.

Combine with TP + DP + PP.