arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.06956cs.DCcs.LG
收藏

NestPipe:通过嵌套流水线在1,500多个加速器上进行大规模推荐训练

NestPipe: Large-Scale Recommendation Training on 1,500+ Accelerators via Nested Pipelining

Huawei(华为)
Zhida Jiang, Zhaolong Xing, Huichao Chai, Tianxing Sun, Qiang Peng, Baopeng Yuan, Jiaxing Wang, Hua Du, Zhixin Wu, Xuemiao Li, Yikui Cao, Xinyu Liu, Yongxiang F… 展开作者

Zhida Jiang, Zhaolong Xing, Huichao Chai, Tianxing Sun, Qiang Peng, Baopeng Yuan, Jiaxing Wang, Hua Du, Zhixin Wu, Xuemiao Li, Yikui Cao, Xinyu Liu, Yongxiang Feng, Zhen Chen, Ke Zhang

AI总结:

本文提出NestPipe框架,通过嵌套流水线解决推荐模型训练中的数据移动瓶颈,实现3.06倍加速和94.07%的扩展效率。

摘要:

现代推荐模型已达到万亿参数规模。随着集群规模扩展到O(1k),分布式训练瓶颈从计算和内存转向数据移动,尤其是与嵌入式查找和通信延迟相关的瓶颈。本文提出NestPipe,一种大规模去中心化嵌入训练框架,通过嵌套流水线同时解决这两个瓶颈,同时保持同步训练语义。NestPipe通过嵌套流水线利用两个层次的稀疏并行机会。在跨批次层面,Dual-Buffer Pipelining (DBP)通过双缓冲同步构建无陈旧的五阶段流水线,缓解查找瓶颈而不引入嵌入陈旧。在内批次层面,我们识别出嵌入冻结现象,这启发了Frozen-Window Pipelining (FWP)通过协调流调度和以键为中心的样本聚类,重叠All2All通信与密集计算。在包含1,536个工作的生产GPU和NPU集群上的实验表明,NestPipe实现了3.06倍的加速和94.07%的扩展效率。

英文摘要:

Modern recommendation models have increased to trillions of parameters. As cluster scales expand to O(1k), distributed training bottlenecks shift from computation and memory to data movement, especially lookup and communication latency associated with embeddings. Existing solutions either optimize only one bottleneck or improve throughput by sacrificing training consistency. This paper presents NestPipe, a large-scale decentralized embedding training framework that tackles both bottlenecks while preserving synchronous training semantics. NestPipe exploits two hierarchical sparse parallelism opportunities through nested pipelining. At the inter-batch level, Dual-Buffer Pipelining (DBP) constructs a staleness-free five-stage pipeline through dual-buffer synchronization, mitigating lookup bottlenecks without embedding staleness. At the intra-batch level, we identify the embedding freezing phenomenon, which inspires Frozen-Window Pipelining (FWP) to overlap All2All communication with dense computation via coordinated stream scheduling and key-centric sample clustering. Experiments on production GPU and NPU clusters with 1,536 workers demonstrate that NestPipe achieves up to 3.06x speedup and 94.07% scaling efficiency.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑