Why it matters

Expert parallel shapes MoE. Understanding shapes design.

Advertisement

The architecture

Experts sharded across GPUs.

All-to-all: send tokens to expert GPUs.

Compute + return.

Expert parallel flowExperts shardedacross GPUsAll-to-allroute tokensCompute + returnall-to-all backDeepEP + Megatron MoE + others; fast fabric essential for all-to-all
Expert parallel math.
Advertisement

How it works end to end

All-to-all is bottleneck.

Load balance affects.

Combine with TP + PP.

Communication overlap.