Every Kernel Is a Join: Automatic Multi-GPU Parallelism for AI Computations in Einsummable
Zhimin Ding, Chen-Kuan Liao, Chima Adiole, Brianna Barrow, Fangzhou Du, Yu Hsiao, Ge Huang, Yicheng Jin,
Key points
From the paper's conclusion- We present Einsummable, a prototype system that accepts a PyTorch-like description of an AI computation and automatically distributes it across a multi-GPU server, with no device assignments, sharding annotations, or communication operations written by the programmer.
Abstract
Distributing an AI computation across the GPUs of a multi-GPU server is one of the central problems in systems-for-AI. We present Einsummable, a prototype system that accepts a PyTorch-like description of an AI computation and automatically distributes it across a multi-GPU server, with no device assignments, sharding annotations, or communication operations written by the programmer. Einsummable models every operation as a relational join followed by an aggregation over tensor relations, in which the tuples contain sub-tensors. Each operation exposes its possible decompositions through what we call "join-agg specs". An optimizer then selects decompositions across the whole computation to minimize a communication-cost proxy. Because it searches decompositions rather than a menu of named strategies, Einsummable discovers plans that mesh-based auto-parallelizers cannot. Each decomposed operation is implemented by synthesizing an exchange program, which is a topology-aware generalization of Volcano's exchange operator. Einsummable invokes no canned collectives: all communication and aggregation is special-purpose, derived at compile time. Despite being fully automatic, Einsummable can outperform custom-designed implementations. For example, on LLaMA transformer blocks on an eight-GPU A100 server, Einsummable achieves a geometric-mean runtime of 8.97 ms, versus 13.80 ms for hand-tuned PyTorch and 15.90 ms for vLLM.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- AutoParallel: Composable, PyTorch-Native Automatic Parallelism for Production TrainingarXiv · 2026
- Generalized Tensor Parallelism: Powering Trillion-Parameter LLM Training at 10+ EFLOP/sarXiv · 2026
- Equivalence Checking of ML GPU KernelsProceedings of the ACM on Programming Languages · 2026
- KABUMI: Communication-Avoiding Batched GEMM on GPUsACM Transactions on Architecture and Code Optimization · 2026
- How Much of a Real Workload Can LLM-Generated GPU Kernels Actually Reach?arXiv · 2026
- Beyond the Trial-and-Error Loop: Hybrid Projection and Automated Tuning for Distributed TrainingarXiv · 2026