LLM training in simple, raw C/CUDA
☆31,320Jun 26, 2025Updated last year
Alternatives and similar repositories for llm.c
Users that are interested in llm.c are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Inference Llama 2 in one file of pure C☆20,234Aug 6, 2024Updated 2 years ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆64,277Nov 12, 2025Updated 11 months ago
- LLM inference in C/C++☆132,963Updated this week
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,951Jul 1, 2024Updated 2 years ago
- LLM101n: Let's build a Storyteller☆37,472Aug 1, 2024Updated 2 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- A high-throughput and memory-efficient inference and serving engine for LLMs☆95,977Updated this week
- Development repository for the Triton language and compiler☆20,498Updated this week
- llama3 implementation one matrix multiplication at a time☆15,202May 23, 2024Updated 2 years ago
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆33,812Updated this week
- Tensor library for machine learning☆15,560Updated this week
- Fast and memory-efficient exact attention☆25,233Updated this week
- The best ChatGPT that $100 can buy.☆59,155Sep 7, 2026Updated last month
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆18,335Aug 3, 2026Updated 2 months ago
- SGLang is a high-performance serving framework for large language models and multimodal models.☆38,321Updated this week
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- MLX: An array framework for Apple silicon☆28,985Updated this week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,986Aug 15, 2024Updated 2 years ago
- Material for gpu-mode lectures☆6,933Sep 9, 2026Updated last month
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆43,278Updated this week
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆107,596Updated this week
- TensorRT LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and supports state-of-the-art optimizat…☆14,982Updated this week
- The official Meta Llama 3 GitHub site☆29,168Jan 26, 2025Updated last year
- CUDA Templates and Python DSLs for High-Performance Linear Algebra☆10,681Updated this week
- Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.☆78,860Updated this week
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Machine Learning Engineering Open Book☆19,637Updated this week
- lightweight, standalone C++ inference engine for Google's Gemma models.☆7,072Updated this week
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,268Aug 22, 2025Updated last year
- Efficient Triton Kernels for LLM Training☆6,680Updated this week
- NanoGPT (124M) in 90 seconds☆6,002Sep 28, 2026Updated last month
- Video+code lecture on building nanoGPT from scratch☆5,609Aug 13, 2024Updated 2 years ago
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆168,390Updated this week
- Inference code for Llama models☆59,636Jan 26, 2025Updated last year
- FlashInfer: Kernel Library for LLM Serving☆6,821Updated this week
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Distribute and run LLMs with a single file.☆26,533Oct 12, 2026Updated 2 weeks ago
- Tile primitives for speedy kernels☆3,786Sep 12, 2026Updated last month
- A PyTorch native platform for training generative AI models☆5,865Updated this week
- Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more☆36,551Updated this week
- Ongoing research training transformer models at scale☆18,305Updated this week
- An Open-source book with Modern CUDA learning Notes for Beginners - BF16/FP8/FP4, HGEMM, CuTe, Flash-Attention, etc.☆12,140Updated this week
- Grok open release☆52,223Aug 30, 2024Updated 2 years ago