Prime Intellect 为 Mega MoE 内核加入负载均衡
Prime Intellect 在 Prime Mega MoE 融合内核中加入分布式负载均衡,由 GPU 规划分配方案,并在计算期间将过载专家的权重复制到空闲 GPU。公司称,在严重专家偏斜下 MoE 层最高加速 6 倍,使用真实 DeepSeek-V4 路由时可提升 1.2–1.6 倍,通信内存最多减少 3.4 倍;这些均为厂商测试结果。Prime Intellect 还表示,输出和输入梯度与 Mega MoE 逐位一致。
该功能针对专家并行 MoE 训练的核心效率问题:热门专家会造成 GPU 负载不均,其余 GPU 等待最繁忙的 GPU 完成工作。

Fusing Distributed Load Balancing Inside Mega MoE Kernel
Introduction
In our previous post, we made MoE training fast by fusing routing, communication, expert compute, and the return trip into one overlapping kernel. That kernel inherits a problem every expert-parallel system has: GPUs wait for the busiest GPU. Real routers don't spread tokens evenly. A few popular experts pull in far more tokens than average, and whichever GPU hosts them becomes the straggler that sets the pace for the entire layer.
So we went one step further and put load balancing inside the fused kernel. The Prime Mega MoE kernel now plans the balancing on the GPU, copies the weights of overloaded experts to idle GPUs while it computes, and gives every GPU an equal share of the work, without changing a single bit of the result.
#Prime Intellect#Prime Mega MoE#DeepSeek-V4-Flash#NVIDIA H200#NVIDIA B200#NVIDIA B300