karpathy / llm.cLinks
LLM training in simple, raw C/CUDA
☆27,986Updated 4 months ago
Alternatives and similar repositories for llm.c
Users that are interested in llm.c are comparing it to the libraries listed below
Sorting:
- Inference Llama 2 in one file of pure C☆18,891Updated last year
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,096Updated last year
- Video+code lecture on building nanoGPT from scratch☆4,506Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆48,640Updated 10 months ago
- An autoregressive character-level language model for making more things☆3,375Updated last year
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆13,559Updated last year
- Material for gpu-mode lectures☆5,222Updated last month
- Development repository for the Triton language and compiler☆17,392Updated last week
- llama3 implementation one matrix multiplication at a time☆15,182Updated last year
- LLM101n: Let's build a Storyteller☆35,363Updated last year
- Tensor library for machine learning☆13,361Updated this week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆22,853Updated last year
- CoreNet: A library for training deep neural networks☆7,024Updated 3 weeks ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,140Updated 2 months ago
- A minimal GPU design in Verilog to learn how GPUs work from the ground up☆8,841Updated last year
- A high-throughput and memory-efficient inference and serving engine for LLMs☆61,727Updated this week
- Fast and memory-efficient exact attention☆20,280Updated this week
- Solve puzzles. Learn CUDA.☆11,592Updated last year
- MLX: An array framework for Apple silicon☆22,656Updated this week
- ☆4,101Updated last year
- Solve puzzles. Improve your pytorch.☆3,761Updated last year
- Machine Learning Engineering Open Book☆15,578Updated last week
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆77,627Updated this week
- Neural Networks: Zero to Hero☆18,262Updated last year
- Minimal reproduction of DeepSeek R1-Zero☆12,345Updated 6 months ago
- Large World Model -- Modeling Text and Video with Millions Context☆7,363Updated last year
- SGLang is a fast serving framework for large language models and vision language models.☆19,462Updated last week
- 3D Visualization of an GPT-style LLM☆5,101Updated last year
- NanoGPT (124M) in 3 minutes☆3,755Updated last week
- Efficient Triton Kernels for LLM Training☆5,792Updated this week