[KongchangAI]
ConceptExpert Parallelism

Expert Parallelism

A distributed training parallelism strategy for MoE models in which different expert sub-networks are assigned to different GPU devices. Token routing and aggregation are achieved through All-to-All communication, enabling efficient training of extremely large-scale MoE models.

Core Facts

Timeline (last 90 days)

Nov 28

Deployment strategies such as expert parallelism affect the communication overhead and load balancing of MoE models, and actual throughput must be measured on the target hardware.

Unverified50%
Nov 12

In MoE expert parallelism, every forward and backward pass requires All-to-All communication, whose volume is related to the number of tokens, the number of experts and the hidden dimension.

Unverified50%
Nov 12

Data parallelism distributes different data batches to different devices; tensor parallelism splits the weight matrices of a single layer across multiple devices; pipeline parallelism splits the model by layer across different devices and executes it in a pipelined manner with micro-batches; expert parallelism spreads the different experts of an MoE across different devices.

Unverified50%
Nov 10

Expert parallelism targets the MoE architecture, distributing different expert networks across different GPUs and dynamically assigning tokens through a routing mechanism.

Unverified50%
Nov 5

Expert parallelism distributes different experts across different GPUs and uses All-to-All communication to dispatch and gather tokens, which is key to implementing MoE training systems.

Unverified50%
Nov 4

The prefill phase uses small expert-parallel groups of 2-8 GPUs; when the batch increases from about 4,000 tokens to 16,000 tokens, throughput rises from about 60,000 tokens/s to 82,000 tokens/s, and per-step latency increases from about 70 milliseconds to 200 milliseconds.

Unverified50%
Nov 4

The decode phase uses wide expert parallelism (EP64-128); under EP64 each GPU holds about 7 experts (about 52 under EP8), and at 240 tokens/s per user, the 8-GPU configuration achieves only 1,900 tokens/s per GPU while the 64-GPU configuration reaches 157,000 tokens/s, an improvement of more than 8x.

Unverified50%
Nov 4

Under expert parallelism, each MoE layer goes through three steps: all-to-all token dispatch, grouped GEMM, and combine collection.

Unverified50%
Oct 27

Expert parallelism places different experts on different devices, and after routing, tokens are sent to the corresponding devices for computation; with a batch size of 1, cross-device communication latency accounts for a very high proportion.

Unverified70%
Oct 27

Optimizing expert scheduling can reduce cross-device data movement by adjusting the layout of expert weights according to access patterns, keeping hot experts resident in cache, and coordinating with expert parallelism strategies, and it usually does not require changing the model structure.

Unverified50%

7 more timeline events

All Facts (17)

Verified

Mixture of Experts (MoE) is a model architecture composed of multiple expert sub-networks that each specialize in different sub-tasks, together with a gating network that decides which expert receives a given input.

90%
Verified

The essence of an expert agent is to build a digital avatar of a domain expert.

75%
Unverified

Expert parallelism places different experts on different devices, and after routing, tokens are sent to the corresponding devices for computation; with a batch size of 1, cross-device communication latency accounts for a very high proportion.

70%
Unverified

At the GPU level, with wide expert parallelism (wide-EP), the expert load carried on different GPUs can vary enormously, causing some GPUs to become bottlenecks and slowing the processing of the entire batch.

70%
Unverified

Deployment strategies such as expert parallelism affect the communication overhead and load balancing of MoE models, and actual throughput must be measured on the target hardware.

50%
Unverified

Data parallelism distributes different data batches to different devices; tensor parallelism splits the weight matrices of a single layer across multiple devices; pipeline parallelism splits the model by layer across different devices and executes it in a pipelined manner with micro-batches; expert parallelism spreads the different experts of an MoE across different devices.

50%
Unverified

In MoE expert parallelism, every forward and backward pass requires All-to-All communication, whose volume is related to the number of tokens, the number of experts and the hidden dimension.

50%
Unverified

Expert parallelism targets the MoE architecture, distributing different expert networks across different GPUs and dynamically assigning tokens through a routing mechanism.

50%
Unverified

Expert parallelism distributes different experts across different GPUs and uses All-to-All communication to dispatch and gather tokens, which is key to implementing MoE training systems.

50%
Unverified

The prefill phase uses small expert-parallel groups of 2-8 GPUs; when the batch increases from about 4,000 tokens to 16,000 tokens, throughput rises from about 60,000 tokens/s to 82,000 tokens/s, and per-step latency increases from about 70 milliseconds to 200 milliseconds.

50%
Unverified

The decode phase uses wide expert parallelism (EP64-128); under EP64 each GPU holds about 7 experts (about 52 under EP8), and at 240 tokens/s per user, the 8-GPU configuration achieves only 1,900 tokens/s per GPU while the 64-GPU configuration reaches 157,000 tokens/s, an improvement of more than 8x.

50%
Unverified

Under expert parallelism, each MoE layer goes through three steps: all-to-all token dispatch, grouped GEMM, and combine collection.

50%
Unverified

Optimizing expert scheduling can reduce cross-device data movement by adjusting the layout of expert weights according to access patterns, keeping hot experts resident in cache, and coordinating with expert parallelism strategies, and it usually does not require changing the model structure.

50%
Unverified

V4.1 Flash's expert scheduling strategy: load is monitored every 1,000 steps, experts are reallocated every 10,000 steps, and ultimately the busiest card is only 9% busier than the average level.

50%
Unverified

Distributed inference parallelism strategies include tensor parallelism (TP), pipeline parallelism (PP), expert parallelism (EP), and PD disaggregation.

50%
Unverified

In expert parallelism, after routing decisions are made, an All-to-All communication is required to send tokens to the corresponding devices and then aggregate the results

50%
Unverified

In MoE models, each token is routed to only a small number of experts, producing two communication primitives: Dispatch and Combine

50%

Source Articles