Skip to content
DAH

A fused GEMM + reduce-scatter kernel hiding 90% of communication on 8 H100 GPUs

OpenTo verify: GPU benchmarkPosed by FLUX (2024) and Triton-distributed (2025) overlap kernels
AI-reviewed
On this page15 sections
Difficulty
36/100Hard
How far from a resolution. P vs NP = 100
Application value
52/100Significant
Realistic practical impact if resolved. P vs NP = 100
Leverage
21/100Local
How much other knowledge hinges on it. P vs NP = 100

Difficulty 36: fused overlap kernels exist (FLUX reports up to 96% overlap in its own setting), but a uniform 0.9 efficiency including latency-bound small M is demanding. Application value 52: exposed tensor-parallel communication costs a double-digit share of layer time in some configurations. Leverage 21: the technique transfers to other collective-plus-GEMM pairs but gates little.

The problem

Can the sum between GPUs be hidden almost entirely behind the multiplication that produces it?

  1. 1Partial answers must be summed
  2. 2Sequential: multiply, then wait
  3. 3Split into tiles; send each when done
  4. 4Fused kernel overlaps both jobs
  5. 590% of waiting time hidden

What is asked. Large models are split across several GPUs. In tensor parallelism, each of the 8 GPUs in a server holds a slice of a weight matrix and computes a partial product. The partial results must then be summed across GPUs, and each GPU keeps one slice of the total (a reduce-scatter). Done the simple way, each GPU multiplies, then waits while the data is exchanged. The problem asks for one fused kernel on 8 H100s that starts sending pieces of the result while the rest is still being computed. It must hide at least 90% of the communication time on every shape in a fixed list, and its results must match the unfused path.

How "hidden" is measured. Let TseqT_{\text{seq}} be the time for multiply-then-communicate, TcommT_{\text{comm}} the communication time alone, and TfusedT_{\text{fused}} the fused kernel's time. The overlap efficiency is (Tseq−Tfused)/Tcomm(T_{\text{seq}} - T_{\text{fused}})/T_{\text{comm}}: the share of the communication time that disappeared. Example: if the multiply takes 10 ms and the exchange 4 ms, then Tseq=14T_{\text{seq}} = 14 ms. A fused kernel finishing in 10.4 ms hides 3.6/4=90%3.6/4 = 90\%. The analogy is a factory that ships each box as soon as it is packed instead of waiting for the whole order. It breaks because here shipping uses the same workers and memory as packing, so sending too early can slow the packing.

Why it is hard. The multiply is split into tiles. Each finished tile must be sent over NVLink, the fast link between GPUs, while other tiles are still computing. That requires fine-grained signals between GPUs ("tile 17 is ready") and careful ordering so that no GPU waits on another. For a small number of tokens MM, the multiply is short and the exchange is dominated by fixed start-up delay (latency), so there is little computation to hide it behind.

State of the art. The FLUX preprint reports that up to 96% of communication can be overlapped by a fused kernel, with up to 1.24× faster training than Megatron-LM on 128 GPUs. Triton-distributed reports effective overlap on up to 64 devices. These figures are for the authors' own configurations. No source shows 0.9 efficiency across a sweep of shapes including small MM, under a stated definition.

What a solution looks like. A public kernel timed on an 8-GPU H100 node against the unfused path built from cuBLAS and NCCL, reaching 0.9 on every listed shape, reproduced on a second node.

Go deeper

The full technical text.

For tensor-parallel linear layers on 8x H100 SXM with NVLink, build a fused GEMM + reduce-scatter kernel whose overlap efficiency, defined as (T_sequential - T_fused) / T_comm, is at least 0.9 for every shape in the verification spec, where T_sequential is cuBLAS GEMM followed by NCCL reduce-scatter and T_comm is the NCCL reduce-scatter time alone, and whose results match the unfused path within BF16 tolerance.

Words on this page (8)
Words on this page
tensor parallelism
Splitting each weight matrix of a layer across several GPUs, which then must combine partial results.
reduce-scatter
A collective operation that sums a tensor across GPUs and leaves each GPU with one slice of the sum.
compute-communication overlap
Running data transfers between GPUs at the same time as arithmetic, so the transfer time is hidden.
GEMM
General matrix multiply, C = A·B: the operation that takes most of the arithmetic in neural networks.
NVLink
NVIDIA's high-speed link between GPUs inside one server.
latency
The fixed delay before an operation finishes, independent of how much data it moves.
NCCL
NVIDIA's library of collective operations between GPUs, the standard baseline.
kernel (GPU)
A function that runs on the GPU, executed by thousands of threads in parallel.
New to this? Read first (3)
New to this? Read first
AI-reviewedAn AI drafted this explanation. Check it against the technical text.

Path to understanding

foundations → problem

The research entries this problem rests on, in the order to read them. Each links to its explainer.

  1. Start with
  2. Step 2
  3. Step 3
  4. Step 4
  5. Then
    • A fused GEMM + reduce-scatter kernel hiding 90% of communication on 8 H100 GPUsThe problem

State of the art

The FLUX preprint states that up to 96% of communication can be overlapped by a fused kernel and reports end-to-end speedups of up to 1.24x for training over Megatron-LM on a 128-GPU cluster; Triton-distributed (preprint) reports effective overlap on up to 64 devices. These figures are for the authors' configurations. A uniform 0.9 efficiency across a sweep of shapes (including small M, where communication is latency-bound) with a stated definition has not been shown in a primary source known to the curator.

Realistic applications

Exposed tensor-parallel communication costs a double-digit share of layer time in some configurations; hiding it raises utilisation without changing the model.

What counts as solved

Public kernel and harness at a pinned commit meeting the 0.9 threshold on all shapes, reproduced on a second node.

How it gets verified

To verify: GPU benchmark

A kernel run and timed on stated hardware against a baseline.

Hardware: 8x H100 SXM 80 GB in one NVLink/NVSwitch node. Operation: row-parallel linear (GEMM then reduce-scatter) in BF16, FP32 accumulation, TP degree 8. Shapes: tokens M in {512, 2048, 8192, 32768}, (N, K) from the Llama-3 70B and Mixtral 8x22B projections. Baselines: cuBLAS (CUDA 12.8 or later) GEMM followed by NCCL (latest stable, pinned) reduce-scatter on the same stream, and each alone for T_comm and T_gemm. Metric: overlap efficiency as defined, median of 200 iterations after warmup. Correctness: output within BF16 tolerance (max relative error at most 1.1x the unfused path versus an FP32 reference). Harness: public script at a pinned commit.

Claims

No claimed results on this problem.

Where the work is

Theory
10%
New mathematical or conceptual ideas
Engineering
72%
Building instruments, chips, systems, software, formal proofs
Compute
8%
Raw computation, search, simulation
Empirical
10%
Observation, experiment, data collection

Systems engineering of tile scheduling and synchronisation; some measurement.

Connected problems

No connected problems.