Agent skill · DevOps & Cloud

text-generation-inference

Deploy LLMs with Hugging Face Text Generation Inference. Configure quantization, continuous batching, and tensor parallelism. Use for production LLM serving, high-throughput inference, and model deployment.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill text-generation-inference --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/ai-llm/text-generation-inference/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Text Generation Inference (TGI) Expert guidance for Hugging Face's production LLM inference server. ## Installation ### Docker ```bash # Basic GPU deployment docker run --gpus all -p 8080:80 \ -v /path/to/models:/data \ ghcr.io/huggingface/text-generation-inference:latest \ --model-id meta-llama/Llama-3.1-8B-Instruct # With quantization docker run --gpus all -p 8080:80 \ -v /path/to/models:/data \ ghcr.io/huggingface/text-generation-inference:latest \ --model-id meta-llama/Llama-3.1-8B-Instruct \ --quantize bitsandbytes-nf4 # Multi-GPU docker run --gpus all -p 8080:80 \ -v /path/to/models:/data \ ghcr.io/huggingface/text-generation-inference:latest \ --model-id meta-llama/Llama-3.1-70B-Instruct \ --num-shard 4 ``` ### Docker Compose ```yaml services: tgi: image: ghcr.io/huggingface/text-generation-inference:latest ports: - "8080:80" volumes: - ./models:/data environment: - HUGGING_FACE_HUB_TOKEN=${HF_TOKEN} command: > --model-id meta-llama/Llama-3.1-8B-Instruct --max-input-length 4096 --max-total-tokens 8192 --max-batch-prefill-tokens 4096 deploy: resources: reservations: devices: - driver: nvidia count: all capabilities: [gpu] ``` ## Server Options ```bash text-generation-launch

What's inside
Steps it walks through
  1. Installation
  2. Docker
  3. Docker Compose
  4. Server Options
  5. Quantization Options
  6. API Usage
  7. Python Client
  8. OpenAI-Compatible
  9. REST API
  10. Embedding Support
  11. Speculative Decoding
  12. Performance Tuning
  13. Kubernetes Deployment
  14. Monitoring
Ships with 1 file
  • metadata.json
Commands it runs
Basic GPU deployment
docker run --gpus all -p 8080:80 \
With quantization
Multi-GPU
text-generation-launcher \
BitsAndBytes 4-bit
GPTQ
AWQ
EETQ (efficient 8-bit)
FP8
More from claude-skill-registry
All skills →
About this skill
What does the text-generation-inference skill do?

Deploy LLMs with Hugging Face Text Generation Inference. Configure quantization, continuous batching, and tensor parallelism. Use for production LLM serving, high-throughput inference, and model deployment.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill text-generation-inference --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going