Inference Llama 2 in one file of pure C
☆19,577Aug 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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- LLM training in simple, raw C/CUDA☆30,087Jun 26, 2025Updated 11 months ago
- LLM inference in C/C++☆114,217Updated this week
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆59,144Nov 12, 2025Updated 6 months ago
- Tensor library for machine learning☆14,727May 29, 2026Updated last week
- Inference code for Llama models☆59,438Jan 26, 2025Updated last year
- 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.
- A high-throughput and memory-efficient inference and serving engine for LLMs☆81,909Updated this week
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,523Jul 1, 2024Updated last year
- Universal LLM Deployment Engine with ML Compilation☆22,730May 11, 2026Updated 3 weeks ago
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆32,921Updated this week
- Fast and memory-efficient exact attention☆24,037Updated this week
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,479May 1, 2026Updated last month
- Development repository for the Triton language and compiler☆19,313Updated this week
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,918Jun 10, 2024Updated last year
- Port of OpenAI's Whisper model in C/C++☆50,475Updated this week
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆42,412Updated this week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,973May 3, 2024Updated 2 years ago
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,464Aug 15, 2024Updated last year
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,248Jul 17, 2024Updated last year
- Distribute and run LLMs with a single file.☆24,611Updated this week
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,916May 29, 2026Updated last week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆16,121Aug 8, 2024Updated last year
- 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,337May 19, 2026Updated 2 weeks ago
- LlamaIndex is the leading document agent and OCR platform☆49,909Updated this week
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Large Language Model Text Generation Inference☆10,857Mar 21, 2026Updated 2 months ago
- Minimalist ML framework for Rust☆20,377May 29, 2026Updated last week
- High-speed Large Language Model Serving for Local Deployment☆9,522May 11, 2026Updated 3 weeks ago
- Instruct-tune LLaMA on consumer hardware☆18,922Jul 29, 2024Updated last year
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,217Aug 22, 2025Updated 9 months ago
- LLMs build upon Evol Insturct: WizardLM, WizardCoder, WizardMath☆9,482Jun 7, 2025Updated 11 months ago
- Making large AI models cheaper, faster and more accessible☆41,385May 25, 2026Updated last week
- MLX: An array framework for Apple silicon☆26,600Updated this week
- The agent engineering platform.☆138,156Updated 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.
- Inference code for CodeLlama models☆16,318Aug 12, 2024Updated last year
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,848Aug 12, 2024Updated last year
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆14,550Updated this week
- llama3 implementation one matrix multiplication at a time☆15,231May 23, 2024Updated 2 years ago
- Accessible large language models via k-bit quantization for PyTorch.☆8,236May 27, 2026Updated last week
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Ad…☆6,079Jul 1, 2025Updated 11 months ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,397Updated this week