NVIDIA TensorRT LLM: Open-Source Library for Optimizing Large Language Model Inference
TensorRT LLM is NVIDIA’s open-source library designed to accelerate and optimize inference performance of large language models on NVIDIA GPUs, supporting a wide range of models and parallelism strategies.
Overview and Key Capabilities
TensorRT LLM is NVIDIA’s comprehensive open-source library designed to accelerate and optimize inference performance of large language models (LLMs) on NVIDIA GPUs. It is architected on PyTorch, providing a high-level Python LLM API that supports a wide range of inference setups, from single-GPU to multi-GPU or multi-node deployments. The library includes built-in support for various parallelism strategies and advanced features, and it integrates seamlessly with the broader inference ecosystem, including NVIDIA Dynamo and the Triton Inference Server. Its PyTorch-native architecture allows developers to experiment with the runtime or extend functionality. Several popular models are also pre-defined and can be customized using native PyTorch code, making it easy to adapt the system to specific needs.
Performance and Model Support
TensorRT LLM delivers state-of-the-art performance on the latest NVIDIA GPUs, including world-record inference performance for DeepSeek R1 on Blackwell GPUs and breaking the 1,000 TPS/User Barrier for Llama 4 Maverick on B200 GPUs nvidia.github.io. It supports a wide range of models, including language models like GPT-OSS, Llama 3/4, and Qwen2/3, as well as multi-modal models such as LLaVA-NeXT and visual generation models like FLUX nvidia.github.io. FP4 support on B200 GPUs enables efficient low-precision inference with optimized kernels nvidia.github.io, while FP8 support on H100 and later GPUs doubles performance and reduces memory usage compared to 16-bit floating point nvidia.github.io.
Optimization and Production Features
TensorRT LLM offers advanced optimization and production features designed to enhance inference efficiency on NVIDIA GPUs. In-flight batching and paged attention reduce latency by dynamically managing request execution and processing context and generation phases together. Multi-GPU multi-node inference is supported through tensor, pipeline, and expert parallelism via the Model Definition API. State-of-the-art optimizations include custom attention kernels, quantization (FP8, FP4, INT4 AWQ, INT8 SmoothQuant), speculative decoding, and paged key-value (KV) caching. NVIDIA Blackwell Ultra is highlighted for delivering up to 50x better performance and 35x lower cost for agentic AI, as noted by NVIDIA. Cloud providers like Microsoft, CoreWeave, and Oracle Cloud Infrastructure are deploying NVIDIA GB300 NVL72 systems at scale for low-latency and long-context use cases, enabled by co-design across Blackwell, NVLink™, and TensorRT LLM, as stated in the evidence.
Telemetry and Deprecation Policy
TensorRT LLM collects anonymous telemetry data by default, including information such as the ingress point (e.g., LLM API, CLI, serve command), deployment duration (via periodic heartbeats), GPU SKUs, count, memory, and CUDA version, and public model architecture identifiers (e.g., LlamaForCausalLM or Qwen3ForTextEmbedding). This data may originate from an upstream checkpoint architecture or a publicly documented TensorRT-LLM runtime architecture. Users can opt out of telemetry data collection using environment variables, file-based methods, Python API configurations, or CLI flags. Beginning with version 1.0, TensorRT LLM implements a deprecation policy that includes communication of deprecation notices in the Release Notes and a 3-month migration period after deprecation.
Documentation and Resources
The TensorRT-LLM documentation and resources section on GitHub Pages offers developers a comprehensive guide to leveraging the tool for optimizing large language model (LLM) inference on NVIDIA GPUs. The Product Overview explains how TensorRT-LLM accelerates and optimizes performance, while the Release Notes detail the current status, software versions, fixed bugs, and known issues. According to the Support Matrix, all published functionality has been fully tested and verified, with known limitations documented. Developers can clone the latest TensorRT-LLM branch from the GitHub TensorRT-LLM Code repository to participate in development, pull in updates, and engage with discussions. The documentation also highlights the major benefits of TensorRT-LLM and how it can assist users in deploying LLMs efficiently.
Sources and reporting notes
Based on published source material. No independent hands-on testing is claimed.