Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.
☆6,243Aug 22, 2025Updated 11 months ago
Alternatives and similar repositories for gpt-fast
Users that are interested in gpt-fast are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- A PyTorch native platform for training generative AI models☆5,623Updated this week
- Fast and memory-efficient exact attention☆24,702Updated this week
- Accessible large language models via k-bit quantization for PyTorch.☆8,413Updated this week
- Development repository for the Triton language and compiler☆19,942Updated this week
- PyTorch native post-training library☆5,797Updated 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.
- PyTorch native quantization for training and inference☆2,948Updated 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…☆14,383Updated this week
- Hackable and optimized Transformers building blocks, supporting a composable construction.☆10,545Aug 7, 2026Updated last week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,616Updated this week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆9,019May 3, 2024Updated 2 years ago
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,262Jul 11, 2024Updated 2 years ago
- Medusa: Simple Framework for Accelerating LLM Generation with Multiple Decoding Heads☆2,765Jun 25, 2024Updated 2 years ago
- Minimalistic large language model 3D-parallelism training☆2,783May 26, 2026Updated 2 months ago
- Large Language Model Text Generation Inference☆10,886Mar 21, 2026Updated 4 months ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Efficient Triton Kernels for LLM Training☆6,568Updated this week
- Tile primitives for speedy kernels☆3,631Jul 13, 2026Updated last month
- Inference Llama 2 in one file of pure C☆19,977Aug 6, 2024Updated 2 years ago
- Transformer related optimization, including BERT, GPT☆6,446Mar 27, 2024Updated 2 years ago
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,676Jul 1, 2024Updated 2 years ago
- LightLLM is a Python-based LLM (Large Language Model) inference and serving framework, notable for its lightweight design, easy scalabili…☆4,226Updated this week
- Train transformer language models with reinforcement learning.☆19,070Updated this week
- Robust recipes to align language models with human and AI preferences☆5,659May 26, 2026Updated 2 months ago
- Ongoing research training transformer models at scale☆17,426Updated this week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- FlashInfer: Kernel Library for LLM Serving☆6,159Updated this week
- A high-throughput and memory-efficient inference and serving engine for LLMs☆89,048Updated this week
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,989Jun 10, 2024Updated 2 years ago
- High-speed Large Language Model Serving for Local Deployment☆9,715May 11, 2026Updated 3 months ago
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆42,930Updated this week
- SGLang is a high-performance serving framework for large language models and multimodal models.☆31,793Updated this week
- Official inference library for Mistral models☆10,836Jun 16, 2026Updated last month
- [MLSys 2024 Best Paper Award] AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration☆3,614Jul 17, 2025Updated last year
- [ICML 2024] Break the Sequential Dependency of LLM Inference Using Lookahead Decoding☆1,341Mar 6, 2025Updated last year
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Tools for merging pretrained large language models.☆7,292Jun 17, 2026Updated last month
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Ad…☆6,086Jul 1, 2025Updated last year
- LLM training in simple, raw C/CUDA☆30,799Jun 26, 2025Updated last year
- Machine Learning Engineering Open Book☆18,615Updated this week
- An easy-to-use LLMs quantization package with user-friendly apis, based on GPTQ algorithm.☆5,072Apr 11, 2025Updated last year
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,546Updated 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,554May 19, 2026Updated 2 months ago