Skip to content

Architecture Reimplementation · Cuda

llm.c

LLM training in simple, raw C/CUDA

Not ranked yet

This project would rank 1st in Machine Learning.

Only verified builders' projects are ranked. Is this yours? Claim @karpathy's Atlas with a read-only GitHub sign-in and it takes its place on the board.

Claim to rank it

What it is

llm.c is a reimplementation of the GPT-2 and GPT-3 architectures in C/CUDA from scratch, providing a lightweight alternative to PyTorch-based implementations for training and inference. It includes both the CUDA kernels and a parallel PyTorch reference implementation for comparison.

Scored atf1e2ace7 Oct 2026Changes since

Merit describes the code at this commit. Later pushes count once the owner rescans. How merit is scored

Tests, level by level

From the files read and your CI on GitHub

  1. Tests exist: yes.3 test files in the repository.
  2. Can run as committed: yes.No missing imports in the test files read.
  3. CI runs them: no.CI exists but runs no tests.
  4. They pass: not checked.Not checked at this scan. AI-Atlas never runs code; it reads the result of your own CI at the next scan.

Distribution based on AI work

1 / 2
Machine Learning: 42.9%NLP & LLMs: 42.9%Data Science: 9.5%MLOps: 4.8%
  • Machine Learning43%
  • NLP & LLMs43%
  • Data Science10%
  • MLOps5%

Each field's share of the project's AI work, as scoring counts it. It ranks in the field it is most about.

What the judge found

Read from the project's code at its scored commit.

Strengths4

  • Deep technical implementation of LLMs in CUDA from scratch.
  • Clear documentation and educational materials.
  • Practical usefulness for low-dependency LLM deployment.
  • Active maintenance and community interest.

Limitations

The owner keeps this project's limitations private.

Where it would sit on the Machine Learning board

Whole board
  1. 1llm.cArchitecture Reimplementation · Cuda79.9/100ExpertAndrej
  2. 2nba-predictor-streamlitML Application · Python74.1/100AdvancedFulvio
  3. 3turbowatchML Application · Python73.5/100AdvancedHazem Ilahi

More from Andrej