We Got Claude to Build CUDA Kernels and teach open models!
Related stories
We Got Claude to Fine-Tune an Open Source LLM
Custom Kernels for All from Codex and Claude
Kernel Forge: An Agent Harness for LLM-based Generation and Optimization of CUDA Kernels
arXiv:2607. 24762v1 Announce Type: new Abstract: Machine learning models are increasingly embedded in everyday software, and most of their runtime is spent in a small set of compute kernels such as matrix multiplication, convolution, and normalization.
Bringing open AI models to the frontier
Why we're building Mistral AI.
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.
How To Build Your Own LLM Runtime From Scratch
If you have ever wanted to actually build an LLM inference runtime yourself — pack your own weights, own every barrier, capture your own CUDA graphs — this is what that journey looks like on an H100. A step-by-step tour of a small runtime called annotated-llm-runtime, and the three bugs that produced most of the annotations.
AI Agents Beat PyTorch: Writing Faster CUDA Kernels
AI agents have been shown to write CUDA kernels that outperform PyTorch, but validating these speedups is challenging. The author tested the agents on an NVIDIA DGX Spark and discovered that benchmark design is as crucial as the code itself. The article highlights the need for careful evaluation when comparing AI-generated performance claims.
M2K: Making the Model-Kernel Interface Explicit for Reliable CUDA Kernel Verification
arXiv:2603.24595v2 Announce Type: replace-cross Abstract: Large language model (LLM) inference systems rely on CUDA kernels for core GPU computations, yet the interface between models and kernels is...
Ask, Don't Equip: Question-Driven Coding Agents for Deep Kernel Optimization
LLM agents for GPU kernel optimization sit at two ends of a structure-freedom tradeoff. Scripted agents fix what the model does at each step, via a learned policy, an optimization menu, or fixed roles...