Inference Llama 2 in one file of pure C
☆19,232Aug 6, 2024Updated last year
Alternatives and similar repositories for llama2.c
Users that are interested in llama2.c are comparing it to the libraries listed below
Sorting:
- LLM training in simple, raw C/CUDA☆29,054Jun 26, 2025Updated 8 months ago
- LLM inference in C/C++☆97,252Updated this week
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆54,531Nov 12, 2025Updated 4 months ago
- Tensor library for machine learning☆14,220Feb 27, 2026Updated 2 weeks ago
- Inference code for Llama models☆59,214Jan 26, 2025Updated last year
- A high-throughput and memory-efficient inference and serving engine for LLMs☆72,827Updated this week
- Universal LLM Deployment Engine with ML Compilation☆22,194Updated this week
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆31,523Updated this week
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,358Jul 1, 2024Updated last year
- Fast and memory-efficient exact attention☆22,719Updated this week
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,418Jun 2, 2025Updated 9 months ago
- Port of OpenAI's Whisper model in C/C++☆47,474Mar 5, 2026Updated last week
- Development repository for the Triton language and compiler☆18,656Updated this week
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆41,807Updated this week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,911May 3, 2024Updated last year
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,841Jun 10, 2024Updated last year
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆23,845Aug 15, 2024Updated last year
- Distribute and run LLMs with a single file.☆23,776Updated this week
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,744Mar 7, 2026Updated last week
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,271Jul 17, 2024Updated last year
- LlamaIndex is the leading document agent and OCR platform☆47,608Updated this week
- Minimalist ML framework for Rust☆19,669Updated this week
- Welcome to the Llama Cookbook! This is your go to guide for Building with Llama: Getting started with Inference, Fine-Tuning, RAG. We als…☆18,252Mar 3, 2026Updated last week
- Large Language Model Text Generation Inference☆10,803Jan 8, 2026Updated 2 months ago
- High-speed Large Language Model Serving for Local Deployment☆8,797Jan 24, 2026Updated last month
- Making large AI models cheaper, faster and more accessible☆41,360Updated this week
- Inference code for CodeLlama models☆16,350Aug 12, 2024Updated last year
- LLMs build upon Evol Insturct: WizardLM, WizardCoder, WizardMath☆9,479Jun 7, 2025Updated 9 months ago
- Instruct-tune LLaMA on consumer hardware☆18,965Jul 29, 2024Updated last year
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,543Aug 12, 2024Updated last year
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆14,944Aug 8, 2024Updated last year
- The agent engineering platform☆128,595Mar 8, 2026Updated last week
- MLX: An array framework for Apple silicon☆24,403Updated this week
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆14,409Mar 5, 2026Updated last week
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,188Aug 22, 2025Updated 6 months ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,218Mar 6, 2026Updated last week
- SGLang is a high-performance serving framework for large language models and multimodal models.☆24,216Mar 8, 2026Updated last week
- Fine-tuning & Reinforcement Learning for LLMs. 🦥 Train OpenAI gpt-oss, DeepSeek, Qwen, Llama, Gemma, TTS 2x faster with 70% less VRAM.☆53,648Updated this week
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆157,783Updated this week