Skip to content
Research · Jul 29, 2026

Researchers propose Kernel Forge, an agentic harness to optimize CUDA kernels for PyTorch models using LLM-driven search

Open-source tool uses Monte Carlo Tree Search and a GUI to generate and refine GPU kernels, outperforming PyTorch eager mode on multiple models with as few as 50 iterations per kernel.

Trust79
HypeLow hype

1 source · cross-referenced

ShareXLinkedInEmail
TL;DR
  • Kernel Forge is an open-source agentic harness that accepts unmodified PyTorch models and optimizes their CUDA kernels using LLM-driven search.

Researchers from the University of Michigan and collaborators introduce Kernel Forge, an open-source, end-to-end agentic harness designed to optimize CUDA kernels for PyTorch models without requiring manual low-level GPU coding. Unlike prior tools that target isolated kernels or randomly generated tensors and emit standalone code requiring manual reintegration, Kernel Forge ingests unmodified PyTorch models and performs in-place kernel optimization.

The system supports vision, diffusion, and large language model workloads and employs Monte Carlo Tree Search (MCTS) to explore multiple optimization paths rather than a single linear refinement chain. It also includes a graphical user interface for monitoring progress, inspecting candidate kernels, and debugging failures.

In evaluations on an NVIDIA DGX Spark with GB10 GPU, Kernel Forge optimized 14 kernels across four PyTorch models. With only 50 optimization iterations per kernel, it achieved speedups over PyTorch eager mode: 1.52× on adaptive_avgpool2d in ResNet-50, 1.70× on group_norm in Stable Diffusion 3.5 Medium, 2.83× on softmax in Gemma 4 E2B, and 1.54× on softmax in Qwen 3.5 35B-A3B.

The authors release Kernel Forge as open-source software and provide a code repository link in the paper.

Sources
  1. 01arXiv cs.AIKernel Forge: An Agent Harness for LLM-based Generation and Optimization of CUDA Kernels
Also on Research

Stories may contain errors. Dispatch is assembled with AI assistance and curated by human editors; despite the trust-score filter, mistakes happen. We correct publicly — every article links to its revision history. Nothing here is financial, legal, or medical advice. Verify before relying on any claim.

© 2026 Dispatch. No ads. No sponsorships. No paid placement. Reader-supported via Ko-fi.

Built by a person who cares about honest AI news.