# llm.c

> LLM training in simple, raw C and CUDA

Source: https://talira.ai/catalog/llm-c-et8pekdn
Every listing: https://talira.ai/catalog.md

Status: llm.c looks abandoned: nothing has changed since June 2025, and its makers haven't said it has ended. Last commit on the default branch in May 2025 and last maintainer reply in June 2025 (the llama3 branch's last commit is June 2025); still widely referenced. Source: https://github.com/karpathy/llm.c

- Kind: Open source
- Types: Library
- Categories: [ai / ml / pretraining](https://talira.ai/categories/ai/ml/pretraining)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Andrej Karpathy](https://talira.ai/orgs/andrej-karpathy.md)

llm.c trains LLMs in simple, pure C and CUDA, without PyTorch or Python, with a parallel PyTorch reference implementation. Its focus is pretraining, in particular reproducing the GPT-2 and GPT-3 model series, with a step-by-step guide to reproducing GPT-2 (124M), plus simpler single-GPU fp32 files for learning CUDA. It's by Andrej Karpathy.

## Links

- GitHub: https://github.com/karpathy/llm.c

## Problems it solves

- reproduce GPT-2 training from scratch
- learn how LLM training works in CUDA
- train a small GPT without PyTorch

## Features

- LLM pretraining in pure C/CUDA
- GPT-2 and GPT-3 reproduction
- PyTorch reference implementation
- simple fp32 single-GPU files

## Trust

Overall: 0.19 out of 1.
Signals: maintenance 0.00, adoption 0.90, momentum 0.91, community 0.74, backing 0.30, extensibility 0.00.

- 31.6k GitHub stars
- 70 contributors
- backed by Andrej Karpathy

Warnings:

- abandoned: not maintained since June 2025
- last commit 18 months ago

## Sources

[^1]: https://github.com/karpathy/llm.c/blob/master/LICENSE (checked 29 Nov 2026)
