karpathy/nanochat

The best ChatGPT that $100 can buy.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 48 minutes ago
Added to GitGenius on November 27th, 2025
Created on October 13th, 2025
Open Issues & Pull Requests: 106 (+0)
Number of forks: 7,994
Total Stargazers: 57,468 (+0)
Total Subscribers: 375 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 12.7 hours
Mean response time: 10.8 days
90th percentile: 34.9 days
Tracked items: 119

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 96% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 12% of issues opened in the past year have been closed. Three people close 78% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 23
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 59 days
Stale 30+ days: 15
Stale 90+ days: 11

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • feature (17)
  • potential_bug (9)
  • code robustness (8)
  • bug (7)
  • improvement (5)
  • install (4)
  • docs (3)
  • performance (3)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

nanochat is an experimental training harness for large language models designed to run on a single GPU node with minimal, hackable code.

The tool addresses the challenge of training capable language models affordably by automating hyperparameter selection across the full LLM pipeline: tokenization, pretraining, finetuning, evaluation, and inference. Rather than requiring manual tuning of transformer width, number of heads, learning rates, and other settings, nanochat calculates optimal hyperparameters automatically based on a single control parameter—the depth, or number of transformer layers. This approach lets developers train models of varying capability levels by adjusting one dial. The tool comes preconfigured to train compute-optimal models and includes a simple CLI for interacting with trained models.

The project suits developers and researchers who want to experiment with LLM training without large budgets or complex infrastructure. It is particularly valuable for those interested in understanding the full training pipeline or benchmarking training efficiency. The tool enables training a GPT-2 capability model in approximately two hours on an eight-GPU H100 node, reducing what historically cost tens of thousands of dollars to under one hundred dollars. The project maintains a leaderboard tracking wall-clock time to GPT-2 grade capability, reflecting ongoing optimization efforts in the pretraining stage.

Almost all open issues are raised by users rather than the core team, indicating a substantial base of real-world adopters. Maintainers typically respond to new issues and pull requests within a day. Work in the issue tracker centers on feature requests, potential bugs, and confirmed bugs.