awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
meta-pytorch avatar

meta-pytorch/gpt-fast

0
View on GitHub↗
6,223 stars·573 forks·Python·BSD-3-Clause·31 views

Gpt Fast

gpt-fast is a PyTorch transformer inference engine designed for text generation using a native tensor library implementation. It provides a runtime for executing large language models without the need for external C++ extensions.

The project implements speculative decoding to accelerate generation by using a small draft model for token prediction and a larger model for verification. It further optimizes performance through a compiled prefill stage and a multi-GPU tensor parallelism library that shards linear layers across multiple graphics processing units.

Memory efficiency is managed through a quantized runtime supporting int8 and int4 weight and grouped tensor quantization. The system also includes tools for architecture parameterization, text tokenization, and model accuracy evaluation using standardized harnesses.

Features

  • Model Inference Runtimes - Provides a lightweight native PyTorch runtime for executing transformer-based text generation.
  • Generative Text Inference - Implements a native tensor library for producing text outputs from language models.
  • Speculative Decoding Strategies - Implements speculative decoding using a small draft model to accelerate token generation.
  • PyTorch Tensor Operations - Performs transformer inference using native PyTorch tensor operations without requiring external C++ extensions.
  • Weight Quantization - Provides a runtime that supports int8 and int4 weight quantization to decrease GPU memory consumption.
  • Transformer Inference Engines - Implements a high-performance inference engine optimized specifically for transformer models.
  • Multi-GPU Parallelism Strategies - Distributes large model weights across multiple GPUs using tensor parallelism to increase throughput.
  • Compiled Prefill Implementations - Offers a high-performance implementation that optimizes the prefill stage through model compilation.
  • Compiled Prefill Stages - Uses just-in-time compilation to optimize the initial prompt processing phase for faster generation.
  • Compiled Prefills - Implements a compiled prefill stage to accelerate the initial processing of prompt tokens.
  • Tensor-Parallel Inference Distributions - Provides a toolkit for splitting model weights across multiple GPUs using tensor parallelism.
  • Model Quantization Frameworks - Provides a framework for converting high-precision model weights into lower-precision formats like int4.
  • Quantized Inference Runtimes - Provides an execution environment designed to run compressed int8 and int4 quantized models.
  • Grouped Quantization - Supports grouped tensor quantization to maintain precision while reducing memory usage.
  • Linear Layer Sharding - Splits linear layer weights across multiple GPUs using row or column sharding to manage memory.
  • Tensor Parallelism - Implements strategies for partitioning model weights across multiple GPUs to handle larger models.
  • Weight Quantization - Reduces GPU memory consumption by compressing model weights into int8 and int4 formats.
  • Speculative Decoding - Ships a framework that uses smaller draft models to accelerate token generation via verification.
  • Language Model Development - Efficient PyTorch-native transformer text generation.

Star history

Star history chart for meta-pytorch/gpt-fastStar history chart for meta-pytorch/gpt-fast

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does meta-pytorch/gpt-fast do?

gpt-fast is a PyTorch transformer inference engine designed for text generation using a native tensor library implementation. It provides a runtime for executing large language models without the need for external C++ extensions.

What are the main features of meta-pytorch/gpt-fast?

The main features of meta-pytorch/gpt-fast are: Model Inference Runtimes, Generative Text Inference, Speculative Decoding Strategies, PyTorch Tensor Operations, Weight Quantization, Transformer Inference Engines, Multi-GPU Parallelism Strategies, Compiled Prefill Implementations.

Which projects share features with meta-pytorch/gpt-fast?

Projects with overlapping indexed features include: pytorch-labs/gpt-fast — gpt-fast is a PyTorch transformer inference engine designed for low-latency text generation. It functions as a… opennmt/ctranslate2 — CTranslate2 is a C++ inference engine and runtime for Transformer models, designed to execute models on both CPU and… openbmb/minicpm — MiniCPM is a collection of small language models designed for local, on-device deployment in resource-constrained… ztxz16/fastllm — fastllm is a set of specialized software components for model weight conversion, Mixture-of-Experts runtimes, and… openai/gpt-oss — gpt-oss is an open-weight large language model and reasoning engine designed for complex reasoning and agentic… intel/ipex-llm — Intel XPU LLM Acceleration Library is a toolkit designed to accelerate large language model inference and finetuning…

Projects sharing features with Gpt Fast

These projects share indexed features with Gpt Fast. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • pytorch-labs/gpt-fastpytorch-labs avatar

    pytorch-labs/gpt-fast

    6,225View on GitHub↗

    gpt-fast is a PyTorch transformer inference engine designed for low-latency text generation. It functions as a distributed GPU inference library, a quantized model runner, and a speculative decoding framework. The system utilizes a speculative decoding workflow where a small draft model predicts token sequences for verification by a larger model to accelerate generation. It supports quantized model execution to reduce memory footprint and implements tensor parallelism to split computations across multiple GPUs. The project includes a standardized evaluation harness to measure the accuracy an

    Python
    View on GitHub↗6,225
  • openbmb/minicpmOpenBMB avatar

    OpenBMB/MiniCPM

    9,464View on GitHub↗

    MiniCPM is a collection of small language models designed for local, on-device deployment in resource-constrained environments. The project focuses on running dense Transformer models on consumer hardware, including GPUs, CPUs, and Apple Silicon, without requiring custom code forks. The project distinguishes itself through heavy optimization for edge hardware, utilizing quantized weight compression in GGUF and MLX formats to reduce memory overhead. It implements advanced inference techniques such as speculative sampling and radix-tree prefix caching to accelerate generation speed and throughp

    Jupyter Notebook
    View on GitHub↗9,464
  • opennmt/ctranslate2OpenNMT avatar

    OpenNMT/CTranslate2

    4,319View on GitHub↗

    CTranslate2 is a C++ inference engine and runtime for Transformer models, designed to execute models on both CPU and GPU with optimizations for speed and memory efficiency. It functions as a model format converter, quantization tool, and REST API server, enabling deployment of neural machine translation, automatic speech recognition, and text generation models. The engine distinguishes itself through a suite of runtime optimizations including layer fusion, weight-matrix quantization, batch-by-length grouping, and a caching allocator that reuses GPU memory. It supports tensor-parallel model di

    C++avxavx2cpp
    View on GitHub↗4,319
  • openai/gpt-ossopenai avatar

    openai/gpt-oss

    20,191View on GitHub↗

    gpt-oss is an open-weight large language model and reasoning engine designed for complex reasoning and agentic workflows. It functions as an AI agent framework and model serving API, allowing for local deployment and the hosting of standardized interfaces to expose model completions and internal reasoning processes. The project distinguishes itself as a quantized inference engine, utilizing tensor parallelism and weight quantization to run high-parameter models on limited hardware. It features a reasoning model that employs chain-of-thought processing to solve multi-step logical tasks. The s

    Python
    View on GitHub↗20,191
Compare all 30 related projects→