Andrej Karpathy releases autoresearch, an autonomous single-GPU LLM training project
Open-source releasePublished: Source: GitHub Trending (Python, daily)
TL;DR:Andrej Karpathy’s autoresearch is an open-source project that lets an AI agent iteratively modify a GPT training script, run a five-minute training experiment, and keep or discard changes based on validation bits per byte.
Andrej Karpathy’s autoresearch is an open-source project that lets an AI agent iteratively modify a GPT training script, run a five-minute training experiment, and keep or discard changes based on validation bits per byte. It targets a single NVIDIA GPU and uses a small setup derived from nanochat; users guide the agent through a program.md file rather than editing the training code themselves. The project estimates about 12 experiments per hour, or roughly 100 overnight, depending on setup.
Key points
- The agent edits train.py while prepare.py remains fixed; users can revise program.md to shape the agent’s research process.
- Each run gets a fixed five-minute training budget and is evaluated using val_bpb, where lower is better.
- The documented setup requires one NVIDIA GPU, Python 3.10+, and uv; H100 is the tested GPU.
- The project is released under the MIT license.
Why it matters
Researchers and developers with a compatible GPU can automate repeated model-training experiments overnight, while keeping each run comparable through a fixed time budget and metric. The single-GPU constraint and hardware-dependent results matter when assessing whether it fits a team’s setup.
Companies and models mentioned
- autoresearch
- Andrej Karpathy
- nanochat
- NVIDIA
- Claude
- Codex
- H100