GPU kernel Very high Author claimed

megakernel-zoo

Model-specific megakernel LLM inference engines, each written by Claude in an autonomous optimization run against a fixed evaluator and audited afterwards, reported faster than vLLM and SGLang on single-sequence decode.

Each engine runs the whole decode step of one checkpoint on one GPU architecture as a single persistent CUDA kernel or device-scheduled kernel loop. The README reports 1.13-1.77x the fastest general engine on nine models from 8B to 594B parameters with the checkpoint's own formats, and up to 2.05x with lossless model-specific weight storage. Engines are timed only after their logits match an FP64 reference, and an independent agent audited each final engine. The repository includes the evaluator, an OpenAI-compatible server, the run records in runs/, and the kit to run the same optimization with claude -p.

Human involvement

Person directed, agent wrote the code. Humans built the evaluator that the agent cannot change and the run framework; the agent designed and optimized the engines autonomously, and an independent agent audited the results.

Evidence

  • Author README
    Every engine in this repository was written by a coding agent (Claude) in an autonomous optimization run against a fixed evaluator, and audited afterwards.
  • Author blog
    We ran it with Claude Opus 5.5 and Fable 5.2.

Notes

Claude Code is recorded because the README's run instructions launch the agent with claude -p. Speedups are the author's measurements on the author's hardware (H100 and B200).