What problem does it solve?
This Skill helps you optimize LLM inference to achieve maximum throughput and lowest latency by using NVIDIA TensorRT-LLM on production GPU hardware.
Core Features & Use Cases
- High-throughput inference serving: Use in-flight batching, paged KV cache, and optimized attention kernels to raise tokens/sec.
- Low-latency production deployment: Apply CUDA graphs and efficient batching to reduce tail latency for real-time chat and completion workloads.
- Scalable multi-GPU and quantized serving: Enable tensor/pipeline/expert parallelism and serve quantized models (FP8/INT4/FP4) for efficient scaling across one or many GPUs.
Use case example: You run a high-traffic chat service on A100/H100 and need to serve a Llama model with quantization and in-flight batching so you can lower latency while increasing tokens/sec.
Quick Start
Start a production server for an OpenAI-compatible chat endpoint by running trtllm-serve with the target model and your tensor-parallel size (example model: meta-llama/Meta-Llama-3-8B).