arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.08923cs.LGcs.DCcs.NI
收藏

DynamiQ:使用压缩多跳全规约加速梯度同步

DynamiQ: Accelerating Gradient Synchronization using Compressed Multi-hop All-reduce

University College London(伦敦大学);VMware Research by Broadcom(VMware由Broadcom进行的研究);Harvard University(哈佛大学);Broadcom

Wenchen Han, Shay Vargaftik, Michael Mitzenmacher, Ran Ben Basat

AI总结:

研究针对大规模模型训练中网络成瓶颈的问题,提出DynamiQ量化框架,引入新技术并设计融合内核,扩展PyTorch DDP支持,在不同场景下比现有方法最多提升34.2%。

摘要:

多跳全规约是大模型训练的实际骨干。随着训练规模增加,网络常成瓶颈,促使减少传输数据量。近期系统用梯度量化加速训练过程,但未针对多跳聚合优化。我们提出DynamiQ,弥合量化最佳实践与多跳聚合间差距,引入新技术,设计融合内核,扩展PyTorch DDP支持,在不同场景下有显著提升。

英文摘要:

Multi-hop all-reduce is the de facto backbone of large model training. As the training scale increases, the network often becomes a bottleneck, motivating the reduction of the volume of transmitted data. Accordingly, recent systems have demonstrated significant acceleration of the training process using gradient quantization. However, these systems are not optimized for multi-hop aggregation, where entries are partially summed multiple times along their aggregation topology. We present DynamiQ, a quantization framework that bridges the gap between quantization best practices and multi-hop aggregation. DynamiQ introduces novel techniques to better represent partial sums, codesigned with a decompress accumulate recompress fused kernel to facilitate fast execution. We extend PyTorch DDP to support DynamiQ over NCCL P2P, and across different LLMs, tasks, and scales, we demonstrate consistent improvement of up to 34.2% over the best among state-of-the-art methods such as Omni-Reduce, THC, and emerging standards such as MXFP4, MXFP6, and MXFP8. Further, DynamiQ is the only evaluated method that consistently reaches near-baseline accuracy (e.g., 99.9\% of the BF16 baseline) and does so while significantly accelerating the training.

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

↑