arXiv:2606.04101cs.DCcs.LG2026-06被引 7

超低延迟负载均衡让大规模MoE模型训练推理更高效

UltraEP: Unleash MoE Training and Inference on Rack-Scale Nodes with Near-Optimal Load Balancing

论文配图:UltraEP: Unleash MoE Training and Inference on Rack-Scale Nodes with Near-Optimal Load Balancing
图 1 · 摘自论文原文
  • 实时动态重分配专家任务,每微批次精准调优
  • 在256卡集群上实现94.3%理想吞吐,提升1.49倍
  • 适合大规模MoE模型训练与推理场景使用

大规模专家并行(EP)正成为训练和部署前沿MoE模型的关键,但也加剧了设备级专家负载不均导致的计算拖延、令牌全对全瓶颈和激活内存峰值问题。现有均衡器基于历史负载周期性调度,难以应对生产环境中的非平稳负载模式。本文提出UltraEP,首个可在机架级节点(RSN)上实现精确负载、实时平衡的大规模EP MoE训练与预填充推理均衡系统。利用机架内数十张GPU间的扩展连接能力,UltraEP在关键路径上对每个微批次和层进行重平衡,需巧妙协同规划求解与专家复制通信以最小化开销。为此,UltraEP采用高效的配额驱动规划器,即时响应门控后负载,并通过原生支持持久分块流传输与基于中继的扇出抑制机制执行不规则的专家状态迁移。我们在最多256张GPU的多机架部署中评估了UltraEP,使用参数量从106B到671B的前沿MoE模型。平均来看,无论是训练还是服务,UltraEP达到力平衡理想吞吐的94.3%,相比无均衡提升1.49倍,同时将最终跨节点负载不均衡从1.30–4.01降至1.01–1.04。

原文摘要 · Abstract (English)

Large-scale expert parallelism (EP) is becoming pivotal for training and serving frontier MoE models, but it also amplifies device-level expert load imbalance into compute stragglers, token all-to-all bottlenecks, and activation-memory spikes. Existing balancers redistribute experts periodically based on historical load, which becomes unreliable for production deployments with non-stationary load patterns. We present UltraEP, the first exact-load, real-time balancer for large-EP MoE training and serving prefill on rack-scale nodes (RSNs). Leveraging the extended scale-up connectivity among dozens of GPUs within RSNs, UltraEP rebalances every microbatch and layer on critical paths, which requires nontrivial co-design of plan solving and expert replication communication to minimize exposed overhead. To this end, UltraEP eagerly reacts to post-gating load with an efficient quota-driven planner, and executes the resulting irregular expert-state transfers with RSN-native persistent tile streaming and relay-based fan-out mitigation. We evaluate UltraEP in a multi-RSN deployment of up to 256 GPUs, using cutting-edge MoE models from 106B to 671B parameters. Averaged across training and serving, UltraEP achieves 94.3% of the force-balanced ideal throughput, delivering 1.49$\times$ improvement over no-balancing, while reducing the final inter-rank imbalance from 1.30$-$4.01 to 1.01$-$1.04.

MoE负载均衡分布式训练大模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。