Inference Llama 2 in one file of pure C
☆20,068Aug 6, 2024Updated 2 years ago
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,962Jun 26, 2025Updated last year
- LLM inference in C/C++☆127,724Updated this week
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆62,954Nov 12, 2025Updated 9 months ago
- Tensor library for machine learning☆15,326Updated this week
- Inference code for Llama models☆59,602Jan 26, 2025Updated last year
- 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.
- A high-throughput and memory-efficient inference and serving engine for LLMs☆91,425Updated this week
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,716Jul 1, 2024Updated 2 years ago
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆33,581Updated this week
- Universal LLM Deployment Engine with ML Compilation☆23,142Aug 17, 2026Updated 3 weeks ago
- Fast and memory-efficient exact attention☆24,881Updated this week
- Development repository for the Triton language and compiler☆20,124Updated this week
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,526May 1, 2026Updated 4 months ago
- Port of OpenAI's Whisper model in C/C++☆53,580Updated this week
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆43,091Updated 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.
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,878Aug 15, 2024Updated 2 years ago
- QLoRA: Efficient Finetuning of Quantized LLMs☆11,011Jun 10, 2024Updated 2 years ago
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆17,460Aug 3, 2026Updated last month
- Distribute and run LLMs with a single file.☆25,937Updated this week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆9,017May 3, 2024Updated 2 years ago
- 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,560May 19, 2026Updated 3 months ago
- MLX: An array framework for Apple silicon☆28,375Updated this week
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,242Jul 17, 2024Updated 2 years ago
- lightweight, standalone C++ inference engine for Google's Gemma models.☆7,035Updated this week
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- LlamaIndex is the leading document agent and OCR platform☆52,118Updated this week
- Minimalist ML framework for Rust☆21,018Updated this week
- Large Language Model Text Generation Inference☆10,887Mar 21, 2026Updated 5 months ago
- Instruct-tune LLaMA on consumer hardware☆18,908Jul 29, 2024Updated 2 years ago
- LLMs build upon Evol Insturct: WizardLM, WizardCoder, WizardMath☆9,482Jun 7, 2025Updated last year
- High-speed Large Language Model Serving for Local Deployment☆9,787May 11, 2026Updated 4 months ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,251Aug 22, 2025Updated last year
- The agent engineering platform.☆146,074Updated this week
- Making large AI models cheaper, faster and more accessible☆41,441Aug 31, 2026Updated last 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.
- SGLang is a high-performance serving framework for large language models and multimodal models.☆35,758Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆25,018Aug 12, 2024Updated 2 years ago
- Inference code for CodeLlama models☆16,259Aug 12, 2024Updated 2 years ago
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆165,081Updated this week
- llama3 implementation one matrix multiplication at a time☆15,216May 23, 2024Updated 2 years ago
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆14,701Sep 3, 2026Updated last week
- Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4, MiniMax-H3, Gemma 4, FLUX and more.☆75,987Updated this week