KOSMOS: Self-scheduling Persistent Kernels for Communication-Compute Overlap
On the map: Mixture-of-experts → Efficient MoE training and inference systems
Abstract (arXiv)
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 either; a predetermined split cannot follow data readiness. We present KOSMOS, a library for self-scheduling persistent kernels whose workgroups use queues ordered by consumer demand to switch between communication and computation roles as data become ready, with no scheduler, per-call cost model, or tuned split. KOSMOS fuses every TP+SP collective of a transformer layer with its GEMM, and runs an entire expert layer, from router to fold, in one launch per direction. Evaluated on AMD Instinct MI350X and AMD Instinct MI355X GPUs, KOSMOS speeds up TP+SP end-to-end training in Megatron-LM by 1.10-1.28x in BF16 and 1.10-1.25x in MXFP8. KOSMOS accelerates end-to-end training of DeepSeek-V3 and Qwen3-235B proxies by 1.29-1.83x over DeepEP.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Efficient MoE training and inference systems, one of 12 directions in Mixture-of-experts. Builds on 21 of its 40 references that are in the map. Submitted 5 Nov 2026.
Builds on
21 of 40 references.
Closest ancestors · 5
Same direction, newest first
- 2026Mixture-of-Kittens: MoE Megakernel for NVL72s28 Sep
- 2026Weave: Fine-Grained Dynamic SM Scheduling in an MoE Megakernel for Compute-Communication Overlap18 Sep
- 2025Training Foundation Models on a Full-Stack AMD Platform: Compute, Networking, and System Design21 Nov
- 2025FlashMoE: Fast Distributed MoE in a Single Kernel5 Jun
- 2025Comet: Fine-grained Computation-communication Overlapping for Mixture-of-Experts27 Feb
Other references · 16
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,787
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 2,029
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,378
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 737
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 320
- 2024FLUX: Fast Software-based Communication Overlap On GPUs Through Kernel Fusioncited by 68
- 2021Breaking the Computation and Communication Abstraction Barrier in Distributed Machine Learning Workloadscited by 44
- 2023Stream-K: Work-centric Parallel Decomposition for Dense Matrix-Matrix Multiplication on the GPUcited by 29
- 2025TileLink: Generating Efficient Compute-Communication Overlapping Kernels using Tile-Centric Primitivescited by 29
- 2025Triton-distributed: Programming Overlapping Kernels on Distributed AI Systems with the Triton Compilercited by 28
- 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programscited by 25
4 more
- 2024T3: Transparent Tracking & Triggering for Fine-grained Overlap of Compute & Collectivescited by 18
- 2025ParallelKittens: Systematic and Practical Simplification of Multi-GPU AI Kernelscited by 15
- 2025HipKittens: Fast and Furious AMD Kernelscited by 4
- 2026mKernel: Fast Multi-GPU, Multi-Node Fused Kernelscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2023Optimizing Distributed ML Communication with Fused Computation-Collective Operations
- 2025FAST: An Efficient Scheduler for All-to-All GPU Communication
- 2026Fine-grained Computation-Communication Overlap via Tile-level Signaling and Scheduling for Mixture-of-Experts
- 2026FastKernels: Benchmarking GPU Kernel Generation in Production
- 2026Event Tensor: A Unified Abstraction for Compiling Dynamic Megakernel
- 2026GF-DiT: Scheduling Parallelism for Diffusion Transformer Serving
- 2026ChunkFlow: Communication-Aware Chunked Prefetching for Layerwise Offloading in Distributed Diffusion Transformer Inference
- 2026Accelerating MoE with Dynamic In-Switch Computing on Multi-GPUs