# karpathy/llm\.c

> LLM training in simple, raw C/CUDA

Canonical: https://starboard.codevetter.com/explore/karpathy/llm.c

[Back to Discover](https://starboard.codevetter.com/discover)

![karpathy](https://avatars.githubusercontent.com/u/241138?v=4&s=40)

karpathy

# llm\.c

[View on GitHub
](https://github.com/karpathy/llm.c)

LLM training in simple, raw C/CUDA

32k stars

Cuda

Updated 1d ago

Created Apr 8, 2024

## Star history

\+1,485 stars
4\.9% growth


## Detected tools

[Transformers](https://starboard.codevetter.com/tools/transformers)
[GitHub Actions](https://starboard.codevetter.com/tools/github-actions)


Tool detection is evidence\-based, not a full runtime audit\. Package manifests, lockfiles, and SBOMs are high\-confidence; README, topics, and AI metadata are lower\-confidence signals\. Repository language is metadata, not counted as a tool\. Accuracy varies by ecosystem, especially for C/C\+\+ and custom monorepos\.

- Transformers  · 98% confidence · Sources: github\-sbom, requirements\.txt · Detected Jul 11, 2026

- GitHub Actions  · 88% confidence · Sources: \.github/workflows/ci\.yml, \.github/workflows/ci\_gpu\.yml, \.github/workflows/ci\_tests\.yml · Detected Jul 11, 2026

## Similar projects

[![flashinfer\-ai](https://avatars.githubusercontent.com/u/145061914?v=4&s=24)

flashinfer\-ai/ flashinfer

FlashInfer: Kernel Library for LLM Serving

Cuda 7\.0k 68%](https://starboard.codevetter.com/explore/flashinfer-ai/flashinfer)[![karpathy](https://avatars.githubusercontent.com/u/241138?v=4&s=24)

karpathy/ minGPT

A minimal PyTorch re\-implementation of the OpenAI GPT \(Generative Pretrained Transformer\) training

Python 25k 68%](https://starboard.codevetter.com/explore/karpathy/minGPT)[![numba](https://avatars.githubusercontent.com/u/1628082?v=4&s=24)

numba/ numba

NumPy aware dynamic Python compiler using LLVM

Python 11k 69%](https://starboard.codevetter.com/explore/numba/numba)[![ataylorkato](https://avatars.githubusercontent.com/u/903291?v=4&s=24)

ataylorkato/ lolcat

High\-performance implementation of https://github\.com/busyloop/lolcat

C 1 69%](https://starboard.codevetter.com/explore/ataylorkato/lolcat)[![ggml\-org](https://avatars.githubusercontent.com/u/134263123?v=4&s=24)

ggml\-org/ llama\.cpp

LLM inference in C/C\+\+

C\+\+ 136k 68%](https://starboard.codevetter.com/explore/ggml-org/llama.cpp)[![intel](https://avatars.githubusercontent.com/u/17888862?v=4&s=24)

intel/ ipex\-llm

Accelerate local LLM inference and finetuning \(LLaMA, Mistral, ChatGLM, Qwen, DeepSeek, Mixtral, Gemma, Phi, MiniCPM, Qwen\-VL, MiniCPM\-V, etc\.\) on Intel XPU \(e\.g\., local PC with iGPU and NPU, discrete GPU such as Arc, Flex and Max\); seamlessly integrate with llama\.cpp, Ollama, HuggingFace, LangChain, LlamaIndex, vLLM, DeepSpeed, Axolotl, etc\.

Python 8\.8k 68%](https://starboard.codevetter.com/explore/intel/ipex-llm)[![karpathy](https://avatars.githubusercontent.com/u/241138?v=4&s=24)

karpathy/ nanoGPT

The simplest, fastest repository for training/finetuning medium\-sized GPTs\.

Python 65k 67%](https://starboard.codevetter.com/explore/karpathy/nanoGPT)[![karpathy](https://avatars.githubusercontent.com/u/241138?v=4&s=24)

karpathy/ build\-nanogpt

Video\+code lecture on building nanoGPT from scratch

Python 5\.7k 67%](https://starboard.codevetter.com/explore/karpathy/build-nanogpt)
