NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient and Adaptable Overlapping for Computation and Communication via Signaling and Reordering

Ke Hong, Xiuhong Li, Minxu Liu, Qiuli Mao, Tao Wu, Zixiao Huang, Lufang Chen, Zhong Wang, Yichong Zhang, Zhenhua Zhu, Guohao Dai, Yu Wang · DOI

Abstract

Generative models have achieved remarkable success across various applications, driving the demand for multi-GPU computing. Inter-GPU communication becomes a bottleneck in multi-GPU computing systems, particularly on consumer-grade GPUs. By exploiting concurrent hardware execution, overlapping computation and communication latency becomes an effective technique for mitigating the communication overhead. We identify that an efficient and adaptable overlapping design should satisfy (1) tile-wise overlapping to maximize the overlapping opportunity, (2) interference-free computation to maintain the original computational performance, and (3) communication agnosticism to reduce the development burden against varying communication primitives. Nevertheless, current designs fail to simultaneously optimize for all of those features. To address the issue, we propose FlashOverlap, which utilizes a novel signaling mechanism: when part of the output finishes, the computation kernel sends a signal to trigger the communication of that part, while continuing the computation of the remaining part (interference-free computation). Consequently, the communication of the finished part and the computation of the remaining part can be overlapped. On top of the signaling mechanism, FlashOverlap comprises two key components: (1) the determination of the signaling timing to boost the overlap efficiency (tile-wise overlapping), and (2) a pre-communication reordering to create the contiguous address for finished data, enabling communication by simply calling NCCL APIs (communication agnosticism), and a post-communication reordering to correct the data order. Experiments show that FlashOverlap achieves up to 1.65x speedup through overlap, outperforming existing works in most cases.

Introduction

As generative AI models like Llama 3 and DeepSeek scale to hundreds of billions of parameters, they must be distributed across multiple GPUs. This distribution introduces a massive communication bottleneck. When GPUs synchronize data using primitives like AllReduce or ReduceScatter, computation often stalls while waiting for the network or PCIe bus. Overlapping these two processes is essential for high-performance training and inference.

The Overlapping Challenge

Existing solutions for overlapping computation and communication generally fall into two categories, both of which have significant drawbacks:

  1. Decomposition-based: These methods split work into smaller chunks. While easy to implement, they often result in "fragmented" computation that fails to fully utilize GPU resources, leading to poor efficiency.
  2. Fusion-based: These methods manually rewrite communication logic directly into the math kernels. While high-performing, they create a massive maintenance burden; every change in communication type or hardware requires re-tuning complex, hand-written kernels.
Comparison of overlapping strategies: FlashOverlap (signaling-based) provides an efficient and adaptable alternative to decomposition and fusion.

FlashOverlap: Signaling and Reordering

FlashOverlap addresses these limitations by introducing a "holy grail" solution: a design that allows fine-grained (tile-wise) overlapping, maintains math kernel performance (interference-free), and works with existing high-performance libraries like NCCL (communication agnostic).

Core Mechanism

The system relies on a three-pronged approach:

  • Signaling Mechanism: Instead of waiting for a General Matrix Multiplication (GEMM) kernel to finish entirely, the kernel sends a lightweight signal as soon as a "wave" of output tiles is ready. A separate signaling kernel on a different stream monitors these signals and triggers communication immediately.
  • Execution-Order-Aware Reordering: GPU kernels process data in tiles, but performance optimizations like "block swizzling" mean these tiles are not finished in linear memory order. FlashOverlap introduces a pre-communication reordering (fused into the GEMM's final step) to pack finished data into a contiguous block that NCCL can process. A post-communication reordering then restores the original data order for subsequent layers.
  • Predictive Search for Tuning: To avoid the overhead of communicating every single tile, FlashOverlap groups tiles into "wave groups." A latency predictor calculates the optimal group size in real-time based on hardware bandwidth curves.
FlashOverlap workflow: Signaling triggers reordering and communication on a separate stream, allowing for concurrent execution with the main GEMM computation.

Key Results

FlashOverlap was evaluated using synthetic benchmarks and real-world configurations including Llama3-70B and Mixtral-8x7B on NVIDIA A800 and RTX 4090 GPUs, as well as Huawei Ascend 910B NPUs.

  • Significant Speedups: The system achieved up to 1.65x speedup on RTX 4090 systems (where PCIe is a major bottleneck) and up to 1.30x on A800 systems.
  • Efficiency: FlashOverlap delivers 69%–98% of the theoretical maximum possible speedup, significantly outperforming existing frameworks like FLUX.
  • Portability: The design successfully achieved a 1.37x speedup on Huawei Ascend NPUs, demonstrating its cross-platform adaptability.

Conclusion

FlashOverlap provides a robust framework for hiding inter-GPU communication latency. By decoupling the communication trigger from the computation logic through signaling and reordering, it achieves high efficiency without the maintenance burden of fused kernels. Future work will focus on extending this predictive search mechanism to inter-node communication environments like InfiniBand.

Summary updated

BibTeX
@misc{hong2025efficient,
  author = {Ke Hong and Xiuhong Li and Minxu Liu and Qiuli Mao and Tao Wu and Zixiao Huang and Lufang Chen and Zhong Wang and Yichong Zhang and Zhenhua Zhu and Guohao Dai and Yu Wang},
  title = {{Efficient and Adaptable Overlapping for Computation and Communication via Signaling and Reordering}},
  year = {2025},
  eprint = {2504.19519},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.19519},
}
Figure