• Picks
  • Discover
  • Alternatives
  • About

© 2026 Willet

  • Newsletter
  • About
  • FAQ
  • Terms
  • Privacy & Cookies
Join the Discord (opens in a new tab)
Keller Jordan avatar

Modded-NanoGPT

Community speedrun for training a GPT-2-scale model as fast as possible

  • AI models and runtimes
  • Education
View on GitHub

What it is

A competitive, collaborative benchmark where contributors race to train a small language model on FineWeb until its validation loss drops to 3.28, using 8 H100 GPUs and as little wall-clock time as possible. The training script descends from Karpathy's llm.c PyTorch trainer and now reaches the target in under 40 seconds, using techniques such as the Muon optimizer, FP8 matmuls, rotary embeddings, sliding-window attention and CUDA-graph capture. ML researchers and engineers study the record logs to see which architecture, optimizer and systems tricks actually speed up LLM pretraining.

Images

Facts

Stars
5,961 GitHub stars.
5,961

Forks
918
Commits
2,269
Contributors
68
Language
Python
License
MIT
Last commit
Sep 28, 2026
On GitHub since
June 2024
Platforms
Linux, CLI
Self-hostable
No
Author
Keller Jordan
Tags
  • model-training
  • research-tools
  • machine-learning
  • model-optimization
  • gpu-computing

Last synced from GitHub on Oct 20, 2026

The 10 best overlooked open-source projects, every Monday.

Share and more

Comments

No comments yet. Start the conversation.

Similar projects

  • Andrej avatar

    nanochat

    Minimal codebase for training a small chat LLM end to end on one GPU node

    58.8k
  • Manjeet Singh avatar

    ANE

    Research code for training transformers on Apple's Neural Engine

    7.3k

What people are saying

Updated Oct 21, 2026
  • Hacker NewsModded-NanoGPT: NanoGPT (124M) quality in 3.25B tokensOct 12, 2024 · 81 points · 11 comments (opens Hacker News in a new tab)
  • Bluesky“Here's that bridge for less than a single dollar worth of on-demand GPU compute”Oct 5, 2026 · 14 likes · 0 replies (opens Bluesky in a new tab)
  • Hacker NewsNanoGPT SpeedrunAug 23, 2026 · 7 points · 2 comments (opens Hacker News in a new tab)
  • Hacker NewsTraining NanoGPT in 39.9 SecondsSep 29, 2026 · 3 points · 0 comments (opens Hacker News in a new tab)
  • Hacker Newsmodded-nanogpt: NanoGPT (124M) in 2 minutesMar 5, 2026 · 2 points · 0 comments (opens Hacker News in a new tab)