#242242nd of 328 in Coding agents and AI editors

autokernel

Agent loop that profiles PyTorch models and optimizes Triton or CUDA kernels

Releases and problems feed (RSS)

Stars
1.6k
License
MIT
Last commit
Nov 2026
Language
Python

Missed the latest GitHub check; these facts may be older.

Overview

AutoKernel profiles a PyTorch model with torch.profiler, extracts the top bottleneck kernels as standalone Triton or CUDA C++ files, and has a coding agent edit, benchmark and keep or revert each one. A fixed bench.py runs 5-stage correctness checks and roofline analysis, and verify.py checks end-to-end results. It also includes KernelBench integration and decode-step and TTFT benchmark scripts for serving engines.

Who it is for: Engineers tuning GPU kernels for PyTorch models on NVIDIA hardware

Strengths

  • Fixed benchmark with 5-stage correctness checks gates each agent edit before it is kept
  • Orchestrator picks the next kernel using Amdahl's law across profiled bottlenecks
  • Starter Triton and CUDA C++ kernels for 10 op types, plus GPT-2, LLaMA, BERT models
  • Includes KernelBench bridge and decode-step and long-prompt TTFT benchmarks

Weaknesses

  • Requires an NVIDIA GPU; tested only on H100, A100 and RTX 4090
  • Needs an external coding agent such as Claude or Codex to drive program.md
  • Each experiment takes about 90 seconds, so gains depend on long unattended runs
  • No tagged release; used by cloning the repo and running scripts

What it needs

  • GPU required
  • Needs uv, PyTorch, Triton, Coding agent (Claude, Codex or similar)
  • Models: PyTorch models, GPT-2, LLaMA, BERT, HuggingFace transformers (optional extra)

Also in Coding agents and AI editors

See all 328
Also in Coding agents and AI editors
RankProjectScore
#240swivalPython coding agent that works with local and hosted models362 starsMIT59 out of 100
#241sidekick.nvimNeovim plugin for Copilot next-edit suggestions and a terminal for AI CLIs2.8k starsApache-2.058 out of 100
#243minuet-ai.nvimLLM code completion plugin for Neovim with FIM and chat-model support1.5k starsGPL-3.058 out of 100
#244goravenSelf-hosted multi-user agent workspace with tools, RAG and skills Live demo ↗ (opens in a new tab)856 starsApache-2.058 out of 100
#245happyclawMulti-user web and chat-app workbench that runs Claude Code agents long-term848 starsMIT58 out of 100