huggingface/text-generation-inference
Large Language Model Text Generation Inference observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 73
- Release rhythm 62
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 15.5
- age_days: 1425
- days_rel: 257
- days_push: 165
- n_releases_24m: 21
Adoption not part of the score
10889 stars · 1280 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Text Generation Inference (TGI) is a Rust, Python and gRPC toolkit for deploying and serving large language models with high performance, powering Hugging Face's production services. It supports popular open LLMs (Llama, Mistral, Falcon, StarCoder, BLOOM, etc.) with features like continuous batching, tensor parallelism, token streaming, and an OpenAI-compatible Messages API.
Use cases
- serve llama models on a gpu server
- deploy an open-source llm behind an openai-compatible api
- run high-throughput text generation with continuous batching
- host a self-hosted chat completion endpoint
- serve large models across multiple gpus with tensor parallelism
- stream llm tokens over server-sent events
When to choose
- you need a production-ready, battle-tested LLM serving stack with Prometheus metrics and tracing
- you want an OpenAI Chat Completion-compatible API for open models
- you need multi-GPU tensor parallelism and quantization support
- you are deploying on Nvidia, AMD, Intel Gaudi, or AWS Inferentia hardware
When to avoid
- you want the most actively developed inference engine - TGI is in maintenance mode and recommends vLLM or SGLang
- you need CPU-only or lightweight local inference - llama.cpp or MLX are better fits
- you need to serve model architectures outside TGI's optimized list
Facets
service · maturity maintenance
llm-inference http-server rpc monitoring gpu-computing large-language-models machine-learning deep-learning self-hosted apis python rust self-hosted text-generation serving continuous-batching tensor-parallelism flash-attention paged-attention openai-compatible-api token-streaming huggingface docker linux gpu
10 sources
- readme: https://github.com/huggingface/text-generation-inference · fetched 2026-08-28 · 729dcd84277b
- homepage: http://hf.co/docs/text-generation-inference · fetched 2026-08-29 · 1b08ae48e895
- site_page: https://huggingface.co/docs · fetched 2026-08-29 · bdec26667b98
- site_page: https://huggingface.co/docs/text-generation-inference/quicktour · fetched 2026-08-29 · cf72731fd6c7
- site_page: https://huggingface.co/docs/text-generation-inference/supported_models · fetched 2026-08-29 · 279b27da9308
- site_page: https://huggingface.co/docs/text-generation-inference/installation_nvidia · fetched 2026-08-29 · 35437bb2928f
- site_page: https://huggingface.co/docs/text-generation-inference/installation_amd · fetched 2026-08-29 · 34b42bf3691b
- site_page: https://huggingface.co/docs/text-generation-inference/installation_gaudi · fetched 2026-08-29 · 13e741593c24
- site_page: https://huggingface.co/docs/text-generation-inference/installation_inferentia · fetched 2026-08-29 · 58a62cfd3396
- site_page: https://huggingface.co/pricing · fetched 2026-08-29 · de6b7a178be5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| huggingface/text-generation-inference | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="huggingface/text-generation-inference")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem