Skip to content

mKernel: Fast Multi-GPU, Multi-Node Fused Kernels

Sep 2026 · arXiv.org · Vol abs/2609.13585 · 5 citations · ⚡ 1 influential · 36 references
Computer Science

Abstract

Communication has become a bottleneck in distributed training and inference of large models. Overlapping communication with computation at the granularity of kernels, on separate streams, reduces only part of this communication cost. Fused kernels often have better performance by transmitting each output tile as soon as it is produced, but existing fused kernels are largely confined to a single NVLink domain. We present mKernel, a library of multi-GPU, multi-node fused kernels that overlap computation, intra-node NVLink communication, and inter-node RDMA at tile granularity. mKernel partitions the streaming multiprocessors (SMs) of a persistent kernel into compute and communication roles, and an on-GPU controller tunes the SM partition adaptively at run time, since the best SM partition varies with the kernel and the input shape. It structures data movement hierarchically so that data traversing the inter-node network is minimized. Finally, it drives the network from the GPU through a lightweight command queue and host proxy implemented directly on RDMA verbs, which allows the same kernels to run on any network backend (e.g. InfiniBand and on AWS EFA); we observe, surprisingly, that GPUDirect Async (IBGDA) yields little additional benefit over host-assisted GPU-initiated communication. We implement five kernels spanning tensor, sequence, and expert parallelism. On two 16-GPU H200 clusters, mKernel achieves speedups of up to 1.72x on GEMM+AllReduce and $1.88\times$ on Ring Attention.

View source

Similar papers

Sep 2026

Joint Effects of GPU Server Topology, Parallelism, and Congestion Control on MoE Inference: A Controlled Simulation Study

Mixture-of-experts (MoE) models expand capacity via sparse activation, but inference across GPUs introduces tensor-parallel (TP) collectives and expert-parallel (EP) dispatch and combine operations. Completion time depends not just on communication volume but on how logical groups map onto intra-server interconnects, G...

Kai-Kai Yuan, Rui-Xuan Xi, Yu Liu · 0 citations
#artificial intelligence Preprint Nov 2026

KOSMOS: Self-scheduling Persistent Kernels for Communication-Compute Overlap

Tensor and sequence parallelism (TP+SP) and expert parallelism (EP) put collectives on the critical path of transformer layers. State-of-the-art fused kernels mitigate this with fixed roles or schedules, but this rigidity leaves large idle windows. Predicting a communication-computation split does not remove them eithe...

Alexander Magro, Aristotle X. Martin, Ye Wang et al. · 0 citations
Preprint Oct 2026

A New Lens on Multi-GPU Communication: API-Level Memory Models for Portable Optimization

As network communication increasingly becomes a performance bottleneck for ML and HPC workloads, it is more important than ever to optimize multi-GPU data transfers. Recently, low-level device APIs have emerged that allow programmers to perform fine-grain optimizations via one-sided put/get operations triggered directl...

Johnathan Alsop, Bradford M. Beckmann, Brandon Potter et al. · 0 citations
2026

Canvas+: Scalable Collective Communication Scheduling for Large-Scale GPU Clusters

State-of-the-art deep learning models rely on large GPU clusters and various parallelism strategies, which in turn depend on collective communication (CC) operators to synchronize data. While vendor libraries (e.g., NCCL, RCCL) provide standard CC algorithms, they often suffer from bandwidth bottlenecks in modern, comp...

Chen-Yang Hei, Fu-Liang Li, Dong-Lin Zheng et al. · 0 citations
Open access Nov 2026

KABUMI: Communication-Avoiding Batched GEMM on GPUs

Batched general matrix multiplication (GEMM) operations in latency-sensitive inference workloads often expose limited cooperative thread array (CTA)-level parallelism within each GEMM, making efficient GPU utilization challenging. Independent GEMMs can run concurrently, but this creates a tradeoff: each GEMM should exp...

He-Meng Wang, Wei-Feng Liu · 0 citations

Related blog posts

MIT News · Artificial Intelligence Sep 29, 2026

Who we become when we talk to machines

Professor Sherry Turkle’s new book, “Artificial Intimacy,” offers a withering critique of chatbots and the antisocial dynamics she believes they encourage.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.