基础设施 3.0 · 值得看 2026-11-04 · 论文

flash-comm: Self-Synchronizing Collective Communication for LLM Decoding

LLM 解码集合通信库 flash-comm:把就绪同步与数据搬运融合,每个数据块自带"就绪证据",接收方直接校验所需块而无需独立跨 GPU barrier;代价引导的选择器按消息规模与 GPU 数自适应编码就绪信息,传输序与归约序解耦保证异步到达下的一致性8 卡 B300 上 all-reduce 延迟中位降 28.8%(最高 43.7%),端到端 TPOT 降 1.7-6.8%(all-reduce 占基线解码 11.4%,即单独优化它的上限);独立 all-gather 中位降 23.8%最高 58.9%

打开原文回到归档

flash-comm: Self-Synchronizing Collective Communication for LLM Decoding

  • ID: 3645fd22
  • 来源: https://arxiv.org/abs/2611.06634
  • 作者: Carrie Wang, Jack Li, Jason Zhao
  • 发表: 2026-11-04 - arXiv 2611.06634 - cs.DC
  • 证据: opencli arxiv paper 2611.06634 -f json 元数据与摘要(2026-11-09 抓取)

Abstract(原文)

We present flash-comm, a communication library that achieves efficient transport for LLM decoding by fusing readiness synchronization with data movement. flash-comm introduces self-synchronizing transfers in which each data block carries evidence of its readiness, allowing receivers to directly validate the blocks they need without separate inter-GPU barriers. Based on this principle, a cost-guided protocol selector adapts the readiness encoding to message size and the number of participating GPUs, balancing synchronization overhead against additional data-transfer cost. flash-comm further decouples transport order from reduction order to preserve result consistency across GPUs under asynchronous data arrivals. On a server with eight NVIDIA B300 GPUs, flash-comm reduces all-reduce latency by a median of 28.8% and up to 43.7% compared with custom AR v2 (the state-of-the-art all-reduce implementation). In end-to-end decoding, flash-comm reduces time per output token (TPOT) by 1.7-6.8%. Note that all-reduce accounts for 11.4% of the baseline decoding time, which bounds the latency reduction possible from optimizing this operation alone. The same mechanism also supports standalone all-gather, reducing latency by a median of 23.8% and up to 58.9% across eight B300 GPUs.

中文要点

LLM 解码集合通信库 flash-comm:把就绪同步与数据搬运融合,每个数据块自带"就绪证据",接收方直接校验所需块而无需独立跨 GPU barrier;代价引导的选择器按消息规模与 GPU 数自适应编码就绪信息,传输序与归约序解耦保证异步到达下的一致性。8 卡 B300 上 all-reduce 延迟中位降 28.8%(最高 43.7%),端到端 TPOT 降 1.7-6.8%(all-reduce 占基线解码 11.4%,即单独优化它的上限);独立 all-gather 中位降 23.8%、最高 58.9%。

Field Notes

  • 就绪证据内嵌数据块、取消独立 barrier;all-reduce 占解码时间 11.4% 是这类优化的收益上限参照