Ross ROSS = Recommend OSS · open-source software intelligence for agents

meta-pytorch/gpt-fast

Simple and efficient pytorch-native transformer text generation in <1000 LOC of python. observed · 2026-08-28

github.com/meta-pytorch/gpt-fast · Python · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

44/100

  • Activity 38
  • Release rhythm 35
  • Longevity 75

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 1051
  • days_rel: n/a
  • days_push: 376
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

6249 stars · 575 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A minimal (<1000 lines) PyTorch-native implementation of fast transformer text generation, demonstrating low-latency LLM inference with int8/int4 quantization, speculative decoding, and tensor parallelism. It is a reference codebase meant to be copied and forked rather than used as a framework, supporting LLaMA-family and Mixtral models on Nvidia and AMD GPUs.

Use cases

  • run llama models fast with pure pytorch
  • quantize llm to int8 or int4 for inference
  • low latency single-user text generation on gpu
  • learn how to optimize transformer inference
  • speculative decoding example implementation
  • tensor parallel inference across multiple gpus

When to choose

  • you want minimal, hackable, dependency-light LLM inference code in pure PyTorch
  • you need very low latency batch-size-1 generation on Nvidia or AMD GPUs
  • you want a reference implementation to copy quantization or speculative decoding techniques into your own code

When to avoid

  • you need a production framework with serving APIs, batching, or broad model support
  • you want a maintained library with stable APIs - it is explicitly a demo/reference, not a framework
  • you need CPU-only inference or non-GPU environments

Facets

library · maturity active

llm-inference machine-learning gpu-computing large-language-models deep-learning machine-learning performance python cross-platform transformer text-generation quantization speculative-decoding tensor-parallelism pytorch llama mixtral reference-implementation gpu linux

1 source

Member repositories

RepositoryRoleHealth v2
meta-pytorch/gpt-fastmain44

For agents

markdown · JSON · MCP: product_card(name="meta-pytorch/gpt-fast")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem