arXiv AI

AgentCompile: An LLM-Guided Compiler for Direct CUDA Inference

arXiv:2606. 07665v1 Announce Type: cross Abstract: Transformer inference increasingly depends on specialized compiler and runtime support, but real model graphs still require semantic decisions about which regions are worth specializing and which CUDA implementation families are plausible.

arXiv AI
Nov 14

KernelMosaic: An Open Dataset and Agentic Framework for CUDA Kernel Generation

KernelMosaic is an open dataset and agentic framework that pairs diverse CUDA tasks with verified solutions and detailed implementation trajectories. The dataset includes natural‑language descriptions, reference programs, mathematical specifications, and curated diversity‑aware selections, while the framework guides a large language model through implementation, correctness repair, and performance optimization using CUDA‑specific feedback. Fine‑tuning on KernelMosaic dramatically improves correctness on KernelBench benchmarks and increases the proportion of kernels that outperform PyTorch eager execution.

By Ningyuan Xi, Yuhang Lai, Ning Miao
arXiv AI
Sep 2

CUDA-Harness: Harnessing Agentic CUDA Kernel Generation and Optimization from Natural Language

CUDA‑Harness is a framework that enables the generation and optimization of CUDA kernels directly from natural language. It introduces Intermediate‑Structured Generation to bridge high‑level semantics with low‑level kernel code, uses Synthesis‑Based Verification to mitigate reward hacking by providing isolated test data, and employs Feedback‑Adaptive Evolution to prioritize correctness while improving performance. Experiments show the approach generalizes across different large language models, hardware platforms, and even supports C‑to‑CUDA transpilation.

By Qi Fan, An Zou, Yehan Ma
arXiv AI
Sep 16

Ave: Guiding Agentic GPU Optimization Using Data-Flow Invariants

arXiv:2604.18616v2 Announce Type: replace-cross Abstract: LLM coding agents can generate correct GPU kernels, but their performance still trails expert libraries. Reaching peak throughput requires co...

By Haohui Mai, Xiaoyan Guo, Xiangyun Ding, Daifeng Li, Qiuchu Yu, Chenzhun Guo, Cong Wang, Jiacheng Zhao, Christos Kozyrakis, Binhang Yuan
arXiv Machine Learning
5d ago

The Silent Hyperparameter: Quantifying the Impact of Inference Backends on LLM Reproducibility

The paper investigates how the choice of inference backend—software systems that run large language models—affects benchmark results and reproducibility. By surveying 200 engines and 35,000 publications, the authors find that inference stacks are rarely reported. Their empirical study shows that different backends can shift benchmark scores by up to 16.6 percentage points and cause significant output disagreement, driven by system-level optimizations such as caching, CUDA graphs, and custom kernels.

By David Pape, Jonathan Evertz, Lea Sch\"onherr
arXiv AI
4d ago

Lodestone: Automated Semantic Discovery of Datacenter Hardware Specialization

Lodestone is an agentic framework that automatically discovers opportunities for hardware specialization in datacenter software by reasoning about the semantics of executed code. It extracts hot control‑flow regions from execution traces, has AI agents describe and merge regions performing the same computation into families, verifies these families against reference inputs and outputs, and proposes hardware extensions for selected families. In evaluations across 20 workloads, the resulting hardware optimizations improved performance by an average of 12.6% and up to 80.2%.

By Peizhe Liu, Akanksha Jain, Gerasimos Gerogiannis, Vidushi Dadu, Parthasarathy Ranganathan, Jovan Stojkovic
arXiv AI
Nov 14

Together Compiler: Continual Compilation for AI Inference

Together Compiler (TKCC) is a continual agent‑driven optimization system for AI inference that addresses the trade‑off between measurement throughput and fidelity. It introduces a Tiered Persistent Engine to separate engine launch overhead from forward‑pass computation and a cost model to seed parallelism configurations. TKCC achieves up to 1.7× speed‑ups over hand‑written Megakernels on Llama 1B and up to 2.6× higher TPS on frontier models across hardware platforms, while also delivering state‑of‑the‑art batch‑size‑1 performance.

By Reyna Abhyankar, Dylan Lim, Drew Wadsworth, Venkata Hasith Vattikuti, YuTong Julia Zhang, Jung Hwan Heo, Taeksang Kim, Kesavan Ramakrishnan, Evangelene Stanley, Xinyu Fang, Daniel Y. Fu, Simran Arora
arXiv AI
Sep 25

KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimization

KernelOPT is a multi‑agent system that optimizes GPU kernels generated by compilers like PyTorch Inductor by treating compiled models as structured artifacts. It preserves vendor library calls and focuses on Triton sub‑kernels, using five profiling‑guided LLM agents and a four‑gate verification cascade to ensure correctness and performance before re‑stitching the model. On 250 KernelBench problems, KernelOPT achieves geometric mean speedups of 1.40×, 1.15×, and 1.07× over torch.compile at three optimization levels.

By Aheli Poddar, Sanskar Prasad, Arindam Samanta, Subha Chakraborty, Vishal Goyal, Rohit Singh Rathaur