LLM training in simple, raw C/CUDA
☆29,780Jun 26, 2025Updated 10 months ago
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☆19,460Aug 6, 2024Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆57,242Nov 12, 2025Updated 5 months ago
- LLM inference in C/C++☆107,892Updated this week
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,462Jul 1, 2024Updated last year
- LLM101n: Let's build a Storyteller☆36,854Aug 1, 2024Updated last year
- 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.
- A high-throughput and memory-efficient inference and serving engine for LLMs☆78,385Updated this week
- llama3 implementation one matrix multiplication at a time☆15,243May 23, 2024Updated last year
- Development repository for the Triton language and compiler☆19,087Updated this week
- Tensor library for machine learning☆14,560Updated this week
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆32,603Updated this week
- Fast and memory-efficient exact attention☆23,563Updated this week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆15,710Aug 8, 2024Updated last year
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆91,680Apr 16, 2026Updated 2 weeks ago
- SGLang is a high-performance serving framework for large language models and multimodal models.☆26,832Updated this week
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- MLX: An array framework for Apple silicon☆25,814Updated this week
- The official Meta Llama 3 GitHub site☆29,287Jan 26, 2025Updated last year
- Web UI for training and running open models like Gemma 4, Qwen3.6, DeepSeek, gpt-oss locally.☆63,070Apr 27, 2026Updated last week
- Material for gpu-mode lectures☆6,040Apr 22, 2026Updated last week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,275Aug 15, 2024Updated last year
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆42,231Updated this week
- Distribute and run LLMs with a single file.☆24,349Updated this week
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,884Updated 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…☆13,487Apr 27, 2026Updated last week
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Inference code for Llama models☆59,382Jan 26, 2025Updated last year
- Video+code lecture on building nanoGPT from scratch☆4,961Aug 13, 2024Updated last year
- Efficient Triton Kernels for LLM Training☆6,315Apr 27, 2026Updated last week
- A minimal GPU design in Verilog to learn how GPUs work from the ground up☆12,335Aug 18, 2024Updated last year
- Machine Learning Engineering Open Book☆17,820Mar 16, 2026Updated last month
- CUDA Templates and Python DSLs for High-Performance Linear Algebra☆9,663Apr 25, 2026Updated last week
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆160,073Updated this week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,337Updated this week
- A PyTorch native platform for training generative AI models☆5,286Updated 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.
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,204Aug 22, 2025Updated 8 months ago
- Get up and running with Kimi-K2.5, GLM-5, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.☆170,289Updated this week
- Tile primitives for speedy kernels☆3,336Updated this week
- Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more☆35,536Updated this week
- NanoGPT (124M) in 90 seconds☆5,157Updated this week
- DSPy: The framework for programming—not prompting—language models☆34,016Apr 24, 2026Updated last week
- Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.☆78,872Feb 5, 2026Updated 2 months ago