DisagMoE:通过解耦的AF-Pipe并行性实现计算-通信重叠的MoE训练
DisagMoE: Computation-Communication overlapped MoE Training via Disaggregated AF-Pipe Parallelism
AI总结:
DisagMoE通过解耦注意力与FFN层,优化模型放置与调度,提升MoE训练效率,实验显示在16节点8xH800集群上实现1.8倍加速。
摘要:
混合专家(MoE)架构通过稀疏激活的专家实现万亿参数LLM。专家并行性(EP)是广泛采用的MoE训练策略,但面临严重的全对全通信瓶颈,受限于节点间网络带宽。本文提出DisagMoE,通过解耦注意力与FFN层,引入多阶段流水线与单向多对多通信,平衡GPU与网络带宽分配,实现高效MoE训练。
英文摘要:
Mixture-of-experts (MoE) architectures enable trillion-parameter LLMs with sparsely activated experts. Expert parallelism (EP) is a widely adopted MoE training strategy, but it suffers from severe all-to-all communication bottlenecks, which is exaggerated by the limited inter-node network bandwidth as the growing model size requires distributing experts across GPU nodes. Prior work focused on overlapping these all-to-all communications with feed-forward network (FFN) and self-attention computations, which often leaves residual network-bound stalls due to inherent imbalance in attention and FFN layers' computation-communication ratios. We present DisagMoE, a disaggregated MoE training system that jointly optimizes model placement and scheduling for maximal efficiency. DisagMoE separates attention and FFN layers into disjoint GPU groups, introduces a multi-stage pipeline with uni-directional, many-to-many communications, and employs a computation-communication roofline model to balance GPU and network bandwidth allocation among the attention and FFN groups. DisagMoE is implemented on Megatron-LM, and evaluation shows that DisagMoE improves training efficiency across multiple MoE models with up to 1.8x speedup on 16-node 8xH800 clusters.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。