mlsanityData to 24 Nov 2026

One Megakernel is Not Enough: Predicting Where to Cut for Streaming Inference

arXiv 2610.35336 ↗Submitted 26 Oct 2026cs.PF cs.DC cs.LGcited by 1

New in Speech and audio language models; no direction yet. Speech and audio language models

Abstract (arXiv)

We address a fundamental question: How far should kernel fusion extend and which boundaries are worth preserving? Unlike the general convention of using one monolith megakernel at lower batch sizes or supporting only a selective model component as megakernel and rest of the model as conventional graph, we show that the best configuration is a composition of multiple megakernels with no overlapping conventional graph component, or a fully conventional graph. We present a framework that selects megakernel regions in a streaming inference model from conventional-graph profiles and standalone kernel benchmarks, without running any candidate design end to end. It simulates each candidate's tile and event graphs to predict time to first output and selects the measured best design in all 13 combinations of model and batch size we tested. Across NH-TTS, Qwen3-TTS and Llama-1B, the best composition ranges from two to four megakernels to fully conventional execution and none is a single megakernel. We introduce four model categories (megakernel-stable/ receding/ advancing/ averse) that capture how a model's best megakernel composition changes with batch size. Using NH-TTS model on H100 NVL GPU, we demonstrate that preserving three specialized megakernels can improve both latency and throughput despite introducing additional kernel boundaries. At batch size 32, this design delivers 21.4% lower mean batch-p95 time to first audio (TTFA) and 28% higher throughput than the evaluated monolith megakernel. Against conventional TensorRT graph execution, it reduces engine-level mean batch TTFA p95 by 4.05x and increases throughput by 19.7%.

Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Builds on 9 of its 18 references that are in the map. Submitted 26 Oct 2026.

Builds on

9 of 18 references.

References · 9

  1. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
  2. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
  3. 2026Qwen3-TTS Technical Reportcited by 163
  4. 2025Nemotron-H: A Family of Accurate and Efficient Hybrid Mamba-Transformer Modelscited by 121
  5. 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programscited by 25
  6. 2024Forecasting GPU Performance for Deep Learning Training and Inferencecited by 21
  7. 2025FlashMoE: Fast Distributed MoE in a Single Kernelcited by 18
  8. 2026Event Tensor: A Unified Abstraction for Compiling Dynamic Megakernelcited by 7
  9. 2026Ada-MK: Adaptive MegaKernel Optimization via Automated DAG-based Search for LLM Inferencecited by 2

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Ray Data: A dynamic and scalable system for heterogeneous data processing
  2. 2026Eliminating Hidden Serialization in Multi-Node Megakernel Communication
  3. 2025SIMPLE: Disaggregating Sampling from GPU Inference into a Decision Plane for Faster Distributed LLM Serving
  4. 2026KernelSight-LM: A Kernel-Level LLM Inference Simulator
  5. 2026PackInfer: Compute- and I/O-Efficient Attention for Batched LLM Inference
  6. 2026Deep Kernel Fusion for Transformers
  7. 2026Yggdrasil: Tree-Routed Recurrent Experts for State Tracking and Fast CPU Inference
  8. 2025FlashFormer: Whole-Model Kernels for Efficient Low-Batch Inference