{"adoption": {"forks": 575, "observed_at": "2026-08-28T04:09:40.966961+00:00", "stars": 6249}, "canonical_url": "https://ross.abutalabs.com/products/gpt-fast", "card": {"archived": false, "artifact_type": "library", "description": "Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.", "domain": ["large-language-models", "deep-learning", "machine-learning", "performance"], "enriched": true, "function": ["llm-inference", "machine-learning", "gpu-computing"], "health_score": 43, "homepage": null, "language": "Python", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "active", "member_repos": ["meta-pytorch/gpt-fast"], "name": "meta-pytorch/gpt-fast", "platform": ["python", "cross-platform"], "pushed_at": "2025-08-22T23:37:14+00:00", "repo": "meta-pytorch/gpt-fast", "stars": 6249, "tags": ["transformer", "text-generation", "quantization", "speculative-decoding", "tensor-parallelism", "pytorch", "llama", "mixtral", "reference-implementation", "gpu", "linux"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/gpt-fast", "repo": "meta-pytorch/gpt-fast", "role": "main", "score": 44}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:40.966961+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:47:09.261006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0a442870bad8abafe788b22941b4307ab294d1c3be76143e46c6a3719a72160c", "fetched_at": "2026-08-28T04:09:40.966961+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/gpt-fast"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:40.966961+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:47:09.261006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0a442870bad8abafe788b22941b4307ab294d1c3be76143e46c6a3719a72160c", "fetched_at": "2026-08-28T04:09:40.966961+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/gpt-fast"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:47:09.261006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0a442870bad8abafe788b22941b4307ab294d1c3be76143e46c6a3719a72160c", "fetched_at": "2026-08-28T04:09:40.966961+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/gpt-fast"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:40.966961+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:40.966961+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:40.966961+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:47:09.261006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0a442870bad8abafe788b22941b4307ab294d1c3be76143e46c6a3719a72160c", "fetched_at": "2026-08-28T04:09:40.966961+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/gpt-fast"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:40.966961+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:40.966961+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:47:09.261006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0a442870bad8abafe788b22941b4307ab294d1c3be76143e46c6a3719a72160c", "fetched_at": "2026-08-28T04:09:40.966961+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/gpt-fast"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:40.966961+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:40.966961+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:40.966961+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:47:09.261006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0a442870bad8abafe788b22941b4307ab294d1c3be76143e46c6a3719a72160c", "fetched_at": "2026-08-28T04:09:40.966961+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/gpt-fast"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:40.966961+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:40.966961+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:47:09.261006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0a442870bad8abafe788b22941b4307ab294d1c3be76143e46c6a3719a72160c", "fetched_at": "2026-08-28T04:09:40.966961+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/gpt-fast"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:47:09.261006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0a442870bad8abafe788b22941b4307ab294d1c3be76143e46c6a3719a72160c", "fetched_at": "2026-08-28T04:09:40.966961+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/gpt-fast"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:47:09.261006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0a442870bad8abafe788b22941b4307ab294d1c3be76143e46c6a3719a72160c", "fetched_at": "2026-08-28T04:09:40.966961+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/gpt-fast"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:47:09.261006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0a442870bad8abafe788b22941b4307ab294d1c3be76143e46c6a3719a72160c", "fetched_at": "2026-08-28T04:09:40.966961+00:00", "kind": "readme", "missing": false, "url": "https://github.com/meta-pytorch/gpt-fast"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 38, "longevity": 75, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1051, "days_push": 376, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 44, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}