LLM training in simple, raw C/CUDA
☆29,842Jun 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,480Aug 6, 2024Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆57,469Nov 12, 2025Updated 5 months ago
- LLM inference in C/C++☆109,291Updated this week
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,476Jul 1, 2024Updated last year
- LLM101n: Let's build a Storyteller☆36,894Aug 1, 2024Updated last year
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- A high-throughput and memory-efficient inference and serving engine for LLMs☆78,979May 4, 2026Updated last week
- llama3 implementation one matrix multiplication at a time☆15,246May 23, 2024Updated last year
- Development repository for the Triton language and compiler☆19,124Updated this week
- Tensor library for machine learning☆14,594Updated this week
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆32,653Updated this week
- Fast and memory-efficient exact attention☆23,628May 3, 2026Updated last week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆15,796Aug 8, 2024Updated last year
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆91,948Apr 16, 2026Updated 3 weeks ago
- SGLang is a high-performance serving framework for large language models and multimodal models.☆27,516Updated this week
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- MLX: An array framework for Apple silicon☆25,969Updated 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,536May 3, 2026Updated last week
- Material for gpu-mode lectures☆6,064Updated this week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,331Aug 15, 2024Updated last year
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆42,281Updated this week
- Distribute and run LLMs with a single file.☆24,410May 4, 2026Updated last 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,545May 4, 2026Updated last week
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,892Updated 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.
- Inference code for Llama models☆59,404Jan 26, 2025Updated last year
- Video+code lecture on building nanoGPT from scratch☆4,971Aug 13, 2024Updated last year
- Efficient Triton Kernels for LLM Training☆6,331Apr 30, 2026Updated last week
- A minimal GPU design in Verilog to learn how GPUs work from the ground up☆12,359Aug 18, 2024Updated last year
- Machine Learning Engineering Open Book☆17,854Mar 16, 2026Updated last month
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆160,288Updated this week
- CUDA Templates and Python DSLs for High-Performance Linear Algebra☆9,663Apr 25, 2026Updated 2 weeks ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,337May 1, 2026Updated last week
- A PyTorch native platform for training generative AI models☆5,309Updated this week
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,206Aug 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,820Updated this week
- Tile primitives for speedy kernels☆3,336Apr 29, 2026Updated last week
- Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more☆35,536May 3, 2026Updated last week
- NanoGPT (124M) in 90 seconds☆5,200May 4, 2026Updated last week
- DSPy: The framework for programming—not prompting—language models☆34,180May 2, 2026Updated last week
- Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.☆79,075Feb 5, 2026Updated 3 months ago