Reducing collective communication latency is a critical goal for large model training and inference in both academia and industry. Many-to-many communications, such as AllGather and AlltoAll (dispatch), are core components of modern parallelization strategies. State-of-the-art implementations of these communications rely on unicast-based writes and transmit duplicate copies of the same data across physical links for multiple receivers. This redundant transmission congests network bottlenecks and degrades end-to-end latency. We present MultiWrite, a novel many-to-many transmission semantic that eliminates redundant packets to directly reduce operator latency. MultiWrite adopts multicast principles while addressing critical limitations of traditional multicast for AI workloads. These limitations include heavy management plane overhead and ecosystem compatibility issues. We implement MultiWrite on Ascend NPUs. Long-term stress tests demonstrate that our MultiWrite-based operators achieve up to 33% latency reduction on commercially deployed devices.


翻译:减少集合通信延迟是学术界和工业界在大规模模型训练与推理中的关键目标。诸如AllGather和AllToAll(分发)等多对多通信是现代并行化策略的核心组件。这些通信的最新实现依赖于基于单播的写入机制,并在物理链路上为多个接收方传输相同数据的重复副本。这种冗余传输会堵塞网络瓶颈并降低端到端延迟。我们提出MultiWrite——一种新型多对多传输语义,通过消除冗余数据包直接降低算子延迟。MultiWrite借鉴多播原理,同时解决了传统多播在AI工作负载中的关键缺陷,包括沉重的管理平面开销和生态系统兼容性问题。我们在昇腾NPU上实现了MultiWrite。长期压力测试表明,基于MultiWrite的算子在商用部署设备上实现了最高33%的延迟降低。

0
下载
关闭预览

相关内容

综述:生成式通信,面向6G的可控生成新范式
专知会员服务
11+阅读 · 7月13日
多智能体强化学习中的稳健且高效的通信
专知会员服务
26+阅读 · 2025年11月17日
《不确定通信条件下的分布式多智能体决策》122页
专知会员服务
58+阅读 · 2025年2月26日
《多智能体合作强化学习中的通信》139页
专知会员服务
47+阅读 · 2025年2月17日
《多模态对齐与融合》综述
专知会员服务
99+阅读 · 2024年11月27日
《多跳战术网络中 5G 及其他侧链路通信的作用》
专知会员服务
29+阅读 · 2024年6月6日
一文搞懂反向传播
机器学习与推荐算法
18+阅读 · 2020年3月12日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
VIP会员
最新内容
《无人机脆弱性利用:网络空间力量的新域》
专知会员服务
2+阅读 · 今天4:08
美空军如何将人工智能从战场部署至后方机关
专知会员服务
11+阅读 · 7月31日
《史诗怒火行动:多域前瞻评估》49页报告
专知会员服务
7+阅读 · 7月31日
《英国防部:未来空战系统数字化战略》33页
专知会员服务
5+阅读 · 7月31日
《面向自主飞行网络的智能体人工智能架构》
专知会员服务
7+阅读 · 7月31日
“史诗怒火”行动:现代多域作战的重要节点
专知会员服务
8+阅读 · 7月30日
《下一代无线网络中的多无人机通信资源管理》
相关VIP内容
综述:生成式通信,面向6G的可控生成新范式
专知会员服务
11+阅读 · 7月13日
多智能体强化学习中的稳健且高效的通信
专知会员服务
26+阅读 · 2025年11月17日
《不确定通信条件下的分布式多智能体决策》122页
专知会员服务
58+阅读 · 2025年2月26日
《多智能体合作强化学习中的通信》139页
专知会员服务
47+阅读 · 2025年2月17日
《多模态对齐与融合》综述
专知会员服务
99+阅读 · 2024年11月27日
《多跳战术网络中 5G 及其他侧链路通信的作用》
专知会员服务
29+阅读 · 2024年6月6日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员