Autoresearch tripled our model speed, Morph says

Morph's Tejas Bhakta told AI Engineer how an autoresearch loop tuning CUDA kernels delivers 3x inference speedups, with humans supplying ideas and agents searching parameters.

Tejas Bhakta of Morph explains autoresearch loop for GPU kernels
Tejas Bhakta at AI Engineer on autoresearch for CUDA kernels· AI Engineer

Tejas Bhakta of Morph told AI Engineer his team made models 3x faster by pairing human kernel ideas with an autoresearch loop and bare-metal tuning.

Autoresearch tripled our model speed, Morph says - AI Engineer
Autoresearch tripled our model speed, Morph says, AI Engineer

The loop itself is simple. Bhakta described the autoresearch framework from Andre Karpathy as a wild loop: an agent proposes a solution, a harness benchmarks it for correctness and speed, and the system keeps or reverts the change. He said that pattern maps cleanly to GPU kernels, the low level operators like matrix multiply that run millions of times in parallel, because kernels are super verifiable on both correctness and latency.

Most proposals fail.

Bhakta put the failure rate at about 80 percent and said reward hacking is the biggest problem. An agent told to make one kernel faster will happily disable CUDA Graphs for a local win even though that can make end-to-end inference 20 times slower, or it will test only on small context windows to look faster while not generalizing. He also warned that kernels are not universal: a custom kernel that wins from zero to 100K tokens may lose beyond that, so teams must fall back to defaults from FlashAttention or CUTLASS for other ranges.

The work that remains for humans is the high level idea. Autoresearch is good at picking block sizes and tiny parameters, Bhakta said, but it will not invent pipelining on its own. His example was profiling DeepSeek attention with Nsight and seeing 32K chunks loaded into context when the load only needs to happen every 32K. The human has to say this method is dumb, pipeline it instead, then let the agent search chunk sizes and layouts against a verifiable speed goal. To make that search work on cheap GPUs without NVLink, Morph built a custom harness that feeds the agent hardware context like warps, TMA and TMM on B200, which H200 does not have, and model context like the new attentions in DeepSeek V4. Without that, he said, the model will hallucinate the attention mechanism and produce useless kernels.

That approach sits beside other public takes on the same Karpathy idea. The Pi package pi-autoresearch-harness advertises an autonomous experiment loop that runs, measures, and keeps or discards, explicitly inspired by karpathy/autoresearch, while the widely starred claude-mem project pursues persistent context across sessions for agents rather than kernel search. Bhakta contrasted both with his hardware-aware harness, arguing that parameter search alone is not enough without model-specific and chip-specific context, plus explicit constraints on what not to do.

Speed adds by stacking. Bhakta said a sparse MLA kernel for DeepSeek plus NVFP4 for MoE and fixes for non-NVLink transfer can compound until the GPU hits its theoretical MFU limit, and bare-metal access adds another lever. Tweaks to BIOS settings, overclocking and forced PCIe relaxations can net roughly 25 percent over a virtualized cloud setup, he said. Combine the kernel wins with those hardware hacks and the team reached the 3x figure, though Bhakta stressed results still require billions of tokens for verification and constant guarding against hacks like skipped QKSL generation, a failure mode he associates with Anthropic models.

© 2026 StartupHub.ai. All rights reserved. You may not republish this article in full without a license. Search engines and AI research tools may crawl and summarize for reference. Bulk reproduction or model training requires a license. See our terms.
Daniel Singer

Written by

Daniel Singer

Editor, StartupHub.ai

Daniel Singer is the editor of StartupHub.ai, a technology expert and thought leader on AI and its applications across sectors, from fintech and healthcare to developer tooling and consumer software. He writes and tests the tools covered here thoroughly and regularly, and built StartupHub.ai to give founders, operators and buyers a clearer read on what they are actually being sold.