NVIDIA/TensorRT-LLM
TensorRT LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and supports state-of-the-art optimizations to perform inference efficiently on NVIDIA GPUs. TensorRT LLM also contains components to create Python and C++ runtimes that orchestrate the inference execution in a performant way.
What it solves
Large language models (LLMs) and visual generation models are slow and expensive to run in production. TensorRT-LLM addresses this by optimizing the inference process on NVIDIA GPUs, making models run much faster and more efficiently, which lowers cost and enables real-time applications.
How it works
It works in three main layers. First, it uses specialized kernels (low-level GPU programs) that are hand-tuned for common operations like attention and matrix multiplication. Second, it provides an efficient runtime that manages memory and scheduling during model execution. Third, it offers a Pythonic framework that lets developers customize and extend the system—for example, adding new model architectures or serving strategies. It also compiles models into optimized engines that reduce overhead, and supports techniques like speculative decoding, quantization, and KV cache compression to further speed up inference.
Who it's for
This is built for developers, researchers, and companies deploying LLMs or visual generation models on NVIDIA hardware (from data center GPUs like Blackwell to edge devices like Jetson). It's also for those who need to serve models at scale with high throughput and low latency, such as cloud providers or enterprises building AI services.
Highlights
- Fully open-source, with development on GitHub.
- Supports a wide range of models (Llama, DeepSeek, GPT-OSS, etc.) with day-zero support for new releases.
- Achieves breakthrough performance: e.g., running Llama 4 at over 40,000 tokens per second on B200 GPUs.
- Includes advanced features like speculative decoding (boosting throughput up to 3.6x), KV cache compression, and multi-block attention for long sequences.
- Also supports visual generation models (like diffusion models) and can scale to multi-node setups (e.g., NVL72 rack).
Related
- Project
- Project
- Project
- Project
- Project