karpathy/llm.c
llm.c
LLM training in simple, raw C/CUDA
Builder

karpathy
karpathy • individual
Stars
29,328
Using upstream star count
Forks
3,476
Using upstream fork count
Open Issues
0
Activity Score
0/100
0 commits in 30d
Created
Apr 8, 2024
Project creation date
README Summary
LLM.c is a minimalist implementation for training large language models written in pure C and CUDA, designed to be educational and performant without dependencies on heavy frameworks like PyTorch. The project provides a clean, readable codebase that demonstrates how to train GPT-style transformers from scratch using low-level programming languages. It aims to make LLM training more accessible and transparent by removing abstractions and showing the core mathematical operations directly.
AI Dev Skills
Unmapped
Tags
Taxonomy
AI Trends
Deployment Context
Modalities
Skill Areas
Use Cases
Recent Activity
Updated 9 months ago
7 Days
0
30 Days
0
90 Days
0
Quality
beta- Quality
- high
- Maturity
- beta
Categories
PM Skills
Languages
Timeline
- Project created
- Apr 8, 2024
- Forked
- Mar 28, 2026
- Your last push
- 9 months ago
- Upstream last push
- 9 months ago
- Tracked since
- Jun 26, 2025
Similar Repos
pgvector cosine similarity · $0
Loading…