Bhakta describes autoresearch as an agent proposing a solution, checking it against a correctness and speed benchmark, then keeping or reverting it. GPU kernels suit this loop because their correctness and performance can be measured. Agents can tune parameters such as block sizes, but people still need to choose the high-level approach.
Autoresearch Made Our Models 3x Faster
Speaker
Tejas Bhakta of Morph explains how AI Engineer uses autoresearch to optimize GPU kernels and speed up model inference.
Bhakta says custom kernels usually target compute limits, memory limits, or the overhead of launching too many kernels. Profiling tools such as NVIDIA Nsight Systems can help identify the problem. For DeepSeek attention, he suggests spotting unnecessary 32K context chunks and telling the agent to pipeline the work, while leaving chunk sizing to the search.
Bhakta says a useful harness needs documentation about the target hardware and model. For example, B200-specific features such as TMA affect kernel choices, while H200 does not have TMA. He also points to DeepSeek Flash attention methods, including compressed sparse attention and hierarchical compression, as details the agent needs to avoid producing incorrect kernels.
An agent optimizing one kernel can harm end-to-end inference, such as by disabling CUDA graphs or testing only small context windows. Bhakta says kernels may work well only across a limited range, such as 0 to 100K context, so a default FlashInfer kernel may still be needed elsewhere. He estimates about 80% of autoresearch attempts are bad.
Bhakta says kernel improvements can compound, citing sparse MLA and NVFP4, until performance approaches the GPU's hardware limit. Bare-metal changes such as BIOS tuning, overclocking, and PCIe relaxing can add roughly 25% over a virtualized cloud setup. Combining kernel and hardware optimizations, he reports a 3x speedup.
Takeaways
- Use agents to tune measurable kernel parameters after a person identifies the algorithmic opportunity.
- Benchmark end-to-end inference and define guardrails against shortcuts that improve a kernel but hurt the full workload.
- Provide hardware-generation and model-specific documentation so the agent can choose valid techniques.
- Measure kernels across realistic context lengths and keep fallback implementations for workloads where custom kernels lose.
- Stack optimizations only while profiling shows they still improve performance toward the hardware limit.
Mentioned in this talk
Search inside this talk
What was claimed 9
- foundedTejas Bhakta founded
Morph LabsFounder & CEO“I'm Tejas.”
YouTube Verified2 sources· Talk, Web· archived
- featureAutomated research loop: Agent proposes solutions, benchmarks correctness and speed, then keeps or reverts changes toward a defined goal
“The agent proposes a solution, you have a setup to define what's correct and benchmark it, and then you keep or revert that solution.”
YouTube Unverified1 source· Talk
- feature
NVIDIA Nsight Systems: Profiles compute, memory, and kernel-launch bottlenecks“You can see these by profiling with a tool like Nsight Systems.”
YouTube Unverified1 source· Talk
- feature
DeepSeek Flash: Introduced compressed sparse attention and hierarchical compression for DeepSeek V4“DeepSeek had two new attention mechanisms released in DeepSeek Flash for DeepSeek V4.”
YouTube Unverified1 source· Talk
- metricCUDA graphs: Disabling them can make execution 20 times slower
“They might disable CUDA graphs, which can make it 20 times slower.”
YouTube Unverified1 source· Talk
- featureFlashInfer: Provides a default kernel to fall back to for workloads where a custom kernel does not perform well
“go back to the default kernel you get from FlashInfer.”
YouTube Unverified1 source· Talk
- metricAutomated research loop: Bare-metal optimizations can provide roughly 25% over a virtualized cloud setup
“you can get roughly 25% over a virtualized setup from a cloud provider.”
YouTube Unverified1 source· Talk
- metricAutomated research loop: Combined kernel and hardware-level optimizations can yield a 3× speedup
“you can get a 3x speedup.”
YouTube Unverified1 source· Talk











