Text Generation Inference

ML inferencetext-generation-inference

Hugging Face LLM serving toolkit with continuous batching and quantization.

Provider
default
Category
Compute
Also known as
TGI
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
acceleratorenumnone | gpu | asicnonone▸ gpu
acceleratorModel · advancedenumnvidia-h100 | nvidia-h200 | nvidia-b200 | nvidia-l4 | nvidia-a100 | amd-mi300x | aws-trainium | aws-inferentia | google-tpu | intel-gaudi | groq-lpu | cerebras-wseno—inherited
bindAddress · component propertystring—no0.0.0.0inherited
embeddingSyncMinutes · advancedinteger—no—inherited
inputsenumlive | historical | bothnolive▸ live
instancesinteger—no—inherited
managedboolean—nofalse▸ false
maxConcurrentRequests · component propertyinteger—no128inherited
port · component propertyinteger—no3000inherited
quantization · component propertyenumnone | awq | gptq | marlin | bitsandbytes | fp8nononeinherited
snapshotToObjectStore · advancedboolean—nofalseinherited
trainingenumbatch | onlinenobatch▸ batch
Rules that apply · 1

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

stateful-node-without-zone-redundancy

A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.

  • — all of these hold:
  • — the node's `stateless` is false
  • — the node sits inside exactly 1 availability-zone group
  • — this does not hold:
  • — the node sits inside at least one cell group
Use it in a design
nodes:
  - { id: "text-generation-inference", component: "text-generation-inference" }
Other ML inference products · 37
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Hugging Face Text Generation Inference: LLM serving toolkit with continuous batching.
# Defaults from the "Text-generation-launcher arguments" page: hostname 0.0.0.0, port 3000,
# max-concurrent-requests 128, quantization off unless --quantize is passed.
schemaVersion: "1"
type: "component"
id: "text-generation-inference"
kind: "ml-inference"
provider: "default"
docs: "https://huggingface.co/docs/text-generation-inference/en/basic_tutorials/launcher"
aliases: ["TGI"]
defaults:
  training: "batch"
  inputs: "live"
  accelerator: "gpu"
  managed: false
properties:
  port:
    type: "integer"
    default: 3000
  bindAddress:
    type: "string"
    default: "0.0.0.0"
  maxConcurrentRequests:
    type: "integer"
    default: 128
  quantization:
    type: "enum"
    values: ["none", "awq", "gptq", "marlin", "bitsandbytes", "fp8"]
    default: "none"

The same page as markdown, for an agent: /catalogue/components/text-generation-inference.md