Meta — The Agent That Writes Its ...

Meta — The Agent That Writes Its Own GPU Kernels

Data Science in the Wild por Peter Liu
T1 · E19
21 sept 2026
19:37

Notas del episodio

Meta's KernelEvolve is an AI agent that writes and tunes GPU and accelerator kernels across NVIDIA, AMD, CPUs and Meta's MTIA chips. It improved ads-model inference throughput by over 60% in hours instead of weeks of expert work.

Key takeaways:

  • The kernel gap. The kernels Meta needs multiply across hardware types, models and operators, faster than experts can hand-tune them or vendor libraries can cover them.
  • Search, not one-shot. KernelEvolve treats optimization as a tree search in Triton, CuTe DSL, FlyDSL, CUDA, HIP and MTIA C++. A job harness checks each candidate for correctness and profiles its performance.
  • It learns as it goes. A retrieval-augmented knowledge base supplies hardware docs, and successful strategies are distilled into reusable skills, a form of in-context reinforcement learning.
  • Production gains. Over 60% inference throughput for the Andromeda ads model on NVIDIA GPUs, and over 25% training throughput for an ads model on MTIA.
  • Benchmarks. A 100% pass rate on KernelBench's 250 problems, and 160 PyTorch ATen operators with 100% correctness across three platforms.

Chapters:

00:00 Mission: AI that writes its own kernels

00:45 Powerful chips, missing software

02:18 What a kernel is

03:49 Why compilers and libraries aren't enough

05:22 The kernel gap

06:07 Many languages and DSLs

07:39 Tree search over code

09:11 In-context reinforcement learning

10:43 A shared data foundation

12:15 Production results

13:00 Benchmark results

14:31 What's novel

16:01 Related Meta agents

17:32 Recap

Sources:

Related episode: E11: NVIDIA — One Checkpoint, Three Jobs for Robots

Enjoyed it? Follow Data Science in the Wild (one real production ML/AI system or paper per episode, hosted by Peter Liu) and rate it on Apple Podcasts or Spotify.

Also from Peter: The GenAI Evolution Atlas, Wednesday AI deep dives and Friday news roundups.

Made with AI-generated voices; curated by Peter Liu from the sources above.