Home Projects llm.c
llm.c

llm.c

by karpathy · GitHub

LLM training in simple, raw C/CUDA

View on GitHub
⭐ Stars
30.6k
🍴 Forks
3.7k
🔥 Trending
+59 this week
📜 License
MIT
Commercial use OK
📅 Created
2024
🔄 Last commit
1 yr ago
💻 Language
Cuda
You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
llm.c — GitHub preview card
📈 Star history
30.6k30.5k
2026-07-122026-07-21
📄 About

LLM training in simple, raw C/CUDA

Frequently asked questions

What is llm.c?

LLM training in simple, raw C/CUDA

Is llm.c open source?

llm.c is an open-source project. It is released under the MIT license.

Is llm.c free?

Yes. llm.c is free and open source — you can use, modify and self-host it.

🏅 Maintainer of this project?
OpenSourceAI badge — llm.c

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![OpenSourceAI](https://opensourceai.tech/badge.php?tool=karpathy-llm-c)](https://opensourceai.tech/project/karpathy-llm-c.html)
More badge options →
🧬 Related projects