Prime Intellect adds GPU load balancing, claiming faster AI training layers
Mega MoE averaged a 1.20× speedup on replayed DeepSeek routing. Larger gains came from deliberately uneven workloads, not full training runs.
Loading page…
Mega MoE averaged a 1.20× speedup on replayed DeepSeek routing. Larger gains came from deliberately uneven workloads, not full training runs.
Listen to this story
Prime Intellect’s Mega MoE update coordinates GPUs to shift token work away from overloaded experts during mixture-of-experts training, while overlapping borrowed-weight transfers with computation. In results dated Dec. 1, replayed DeepSeek-V4-Flash routing averaged 1.20× faster per layer on eight H200s; that is not an end-to-end training-time claim. The update also cuts receive-buffer requirements by 3–3.4×, while the largest speedups came only from deliberately skewed synthetic workloads.
On typical replayed steps, the busiest GPU carried 1.3–1.6× the average workload, reaching 1.9× on the most uneven layers.
At 64K tokens per GPU, balancing used 14.4 GiB across four chunks; the baseline could not allocate its required receive buffers.
Two- and four-node tests recorded 1.41× speedup across 16 GPUs and 1.48× across 32, against the same unbalanced kernels and transport.
Prime Intellect says its updated Mega MoE software makes AI training layers faster by sharing overloaded GPUs’ work with less-busy chips. In its December 1 results, replayed DeepSeek-V4-Flash routing ran 1.20× faster on average—a layer-level improvement, not a measurement of how much sooner an entire training run finishes.
The update targets a bottleneck that faster calculations alone cannot remove: every GPU must wait for the busiest one. In Prime Intellect’s DeepSeek-V4-Flash training measurements, the busiest chip handled 1.3–1.6 times the average workload on typical steps, reaching 1.9 times on the most uneven layers. Its new load-balancing system redistributes that excess work inside the GPU routine, or kernel, already doing the computation.
In a mixture-of-experts model, or MoE, routing determines which model components, called experts, receive tokens to process. When those experts are divided across GPUs, popular experts can concentrate work on one chip. Mega MoE’s balancing system temporarily copies an overloaded expert’s weights—the values used in its calculations—to a helper GPU, then sends some of that expert’s token workload there.
Planning happens entirely on the GPUs. Each chip counts the tokens assigned to each expert and shares those counts directly with its peers. All chips then calculate the same assignment, moving excess work toward the least-loaded helpers. Prime Intellect says this takes tens of microseconds. When workloads are already balanced enough, experts stay on their original GPUs and execution follows the existing Mega MoE path.
Copying weights could introduce another delay, so transfers overlap with computation. Helper GPUs process their own experts first while borrowed weights arrive over NVLink, the connection between chips. During the backward pass, which calculates training updates, partial weight gradients are combined in a fixed order. The company says outputs and input gradients remain bit-for-bit identical to unbalanced Mega MoE.
The recorded-routing benchmark replayed per-expert loads from 12 micro-steps across 43 layers of a DeepSeek-V4-Flash supervised fine-tuning run. It used eight H200 GPUs, BF16 numerical precision and 32,768 tokens per GPU, measuring both forward and backward computation. The most uneven layers ran 1.64× faster. A separate B300 test using MXFP8 precision and 64K tokens per GPU averaged a 1.22× speedup.
The much larger gains came from synthetic tests that deliberately concentrated traffic on particular experts. In the detailed extreme-skew comparison, Prime Intellect measured 5.3× faster layer execution on H200 and 4.4× on B300. Those tests used one DeepSeek-V4-Flash layer with 256 experts, selecting six experts per token. They measure the benefit of correcting severe imbalance, rather than typical full-model training performance.
Average on eight H200 GPUs replaying DeepSeek-V4-Flash routing.
H200 result under deliberately concentrated expert traffic.
Balancing also changes how much communication memory must be reserved. Without it, receive buffers must accommodate a worst case in which every GPU sends its tokens to one receiver. Bounding each chip’s assigned workload cuts those buffers by 3–3.4×, Prime Intellect says. At 64K tokens per GPU, the balanced kernel processed the work in four chunks using 14.4 GiB; the baseline could not allocate the required buffers.
The approach extends across machines while keeping helper-weight copies within each node. In tests spanning two and four nodes linked by 400 Gb/s InfiniBand, the company measured speedups of 1.41× across 16 GPUs and 1.48× across 32. Both comparisons used the same kernels and network transport without balancing as the baseline, isolating the contribution of redistributing work.
Prime Intellect’s supported configurations cover H200 GPUs using BF16 or blockwise FP8, and B200/B300 GPUs using MXFP8 or NVFP4. These are training-infrastructure improvements for Hopper and Blackwell hardware, not a new DeepSeek model.
Loading discussion...
Join the conversation
Explain when a best-case result deserves top billing.
Be the first to share a perspective or an experience.
Reader comments
Newest comments first. Replies stay oldest first.