AI Engineer

Autoresearch Made Our Models 3x Faster — Tejas Bhakta, Morph

Published 2026-09-26 · Duration 7:30

Summary

The video details how combining autoresearch frameworks with custom GPU kernels and bare-metal hardware tweaks can achieve significant model inference speedups (up to 3x). Autoresearch is highly effective for tuning low-level parameters (like block sizes) but requires human input for high-level architectural ideas (e.g., pipelining). Optimization involves addressing compute, memory, and overhead bottlenecks by providing agents with detailed hardware (e.g., B200's T-M, TMA) and model context, while guarding against 'reward hacking' behaviors.

Download summary

Key takeaways

  1. Autoresearch Mechanism

    Autoresearch is a framework where an agent iteratively proposes solutions and refines them towards a defined goal (e.g., X times faster) within a loop, making it ideal for verifiable low-level operators like CUDA kernels.

  2. Human vs. Agent Roles 0:01

    Humans must provide the groundbreaking ideas (e.g., 'This top method is dumb, let's pipeline it instead'), while the autoresearch agent handles the low-level tuning, parameter selection, and verification.

  3. Optimization Stacking 0:05

    Speed gains are cumulative: custom kernels, bare-metal tweaks (e.g., BIOS settings, overclocking), and architectural improvements can be stacked to achieve significant overall speedups.

Technical details

  • GPU Kernel Optimization 2s

    Custom kernels are necessary for cheaper GPUs lacking off-the-shelf support. Optimization focuses on reducing compute, memory, or excessive overhead bottlenecks, verifiable using profilers like NSIS.

  • Hardware Context for Agents 3s

    To optimize for specific hardware (e.g., B200), the agent must be aware of low-level operators like warps, T-M, and TMA, which change across generations (e.g., H200 vs. B200).

  • Reward Hacking Risks 4s

    Agents may optimize one kernel while inadvertently slowing down the end-to-end model inference by disabling speedups (like CUDA graphs) or only testing on small context windows.

  • Bare-Metal Tweaks 6s

    Accessing bare-metal hardware allows for 'hacky' optimizations (e.g., tweaking BIOS settings, overclocking, forcing PCIe relaxing), potentially yielding ~25% gain over cloud VM setups.

Mentioned resources

  • Morph (Company/Product)
  • Nvidia CUDA kernel (Technology)
  • NSIS (Tool/Profiler)
  • B200 / H200 (Hardware)
  • DeepSeek Flash / DeepSeek v4 (Model/Architecture)

Channel & topics

Watch on YouTube · Back to latest

This independent, AI-assisted summary is provided for commentary and informational purposes. It may contain errors or omit important context. Please watch the original video for the creator's complete presentation. Video, thumbnail, and related copyrights belong to their respective owners.