#242242nd of 328 in Coding agents and AI editors
autokernel
Agent loop that profiles PyTorch models and optimizes Triton or CUDA kernels
- 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| Rank | Project | Score |
|---|---|---|
| #240 | swivalPython coding agent that works with local and hosted models | 59 out of 100 |
| #241 | sidekick.nvimNeovim plugin for Copilot next-edit suggestions and a terminal for AI CLIs | 58 out of 100 |
| #243 | minuet-ai.nvimLLM code completion plugin for Neovim with FIM and chat-model support | 58 out of 100 |
| #244 | goravenSelf-hosted multi-user agent workspace with tools, RAG and skills | 58 out of 100 |
| #245 | happyclawMulti-user web and chat-app workbench that runs Claude Code agents long-term | 58 out of 100 |