Technology · LLMs → Serving · Open Source · wiki:deep
Text Generation Inference (TGI) is Hugging Face’s production server for serving HF models with batching, streaming, and tracing. Standard self-host option in HF-centric stacks. Serve open models behind HF/OpenAI-compatible APIs for agents. Large Language Model Text Generation Inference [!CAUTION] text-generation-inference is now in maintenance mode. Going forward, we will accept pull requests for minor bug fixes, documentation improvements and lightweight maintenance tasks. TGI has initiated the movement for optimized inference engines to rely on a transformers model architectures. This approach is now adopted by downstream inference engines, which we contribute to and recommend using going forward: vllm, SGLang, as well as local engines with inter-compatibility such as llama.cpp or MLX. A Rust, Python and gRPC server for text generation inference. Used in production.
In this catalog it is the Serving option when you need to run model inference at usable latency and cost. Keep Text Generation Inference on the observe/propose side of the loop: useful signals and drafts, with human or policy authority still required before anything irreversible runs.
TGI is Hugging Face’s production model server: batching, streaming, and tracing for HF models.
Related: vllm · litellm · sglang · topics/04-data
Claims below are backed by science sources on disk.
Primary / product role
TGI documentation · MODERATE
“A Rust, Python and gRPC server for text generation inference. Used in production at Hugging Face to power Hugging Chat, the Inference API and Inference Endpoints.”
Docs or contrast
huggingface/text-generation-inference · MODERATE
“text-generation-inference is now in maintenance mode. Going forward, we will accept pull requests for minor bug fixes, documentation improvements and lightweight maintenance tasks.”
Additional source
vLLM contrast · MODERATE
“vLLM is a fast and easy-to-use library for LLM inference and serving.”
9 tags · 10 out · 11 in · 3 artifacts · 1 gaps · 16 corpus docs
map_edge · 5
tech_features · 1
tech_quote · 9
tech_readme · 1