NVIDIA's SDK for high-performance deep learning inference on NVIDIA GPUs
commercial softwarefree
TensorRT is NVIDIA's SDK for high-performance deep learning inference on NVIDIA GPUs. Built on CUDA, it includes inference compilers, runtimes and model optimizations that take models trained in the major frameworks, calibrate them for lower precision (FP8, FP4, INT8, INT4) with high accuracy, and apply layer and tensor fusion and kernel tuning, for deployment in data centres, workstations, laptops and edge devices. Models come in through ONNX, Torch-TensorRT, Hugging Face Optimum or its network definition API. The SDK is a free download under NVIDIA's licence agreement, with a Python package (pip install tensorrt); its GitHub repository holds the open source parts (plugins, the ONNX parser and samples) under Apache 2.0, plus agent skills for TensorRT. TensorRT 11 streamlined the API and removed some legacy features. TensorRT-LLM is its LLM library.
Problems it solves
- I need to cut the inference latency of my PyTorch model on NVIDIA GPUs
- I want to quantize a model to INT8 or FP8 for faster GPU inference
- I need to deploy a vision model on a Jetson edge device with high throughput
Features
- Inference compiler and runtime for NVIDIA GPUs
- FP8, FP4, INT8 and INT4 quantization
- Layer and tensor fusion and kernel tuning
- Imports from ONNX, Torch-TensorRT and Hugging Face Optimum
- Python package and C++ API
- Open source plugins, ONNX parser and samples
- Agent skills for TensorRT usage and benchmarking
Limitations
Alternatives
The same job
These do what TensorRT does.
- SGLang Fast inference for LLMs and multimodal models
- vLLM A high-throughput and memory-efficient inference and serving engine for LLMs
- TensorRT-LLM Optimized LLM and visual generation inference on NVIDIA GPUs
- LMDeploy LMDeploy is a toolkit for compressing, deploying, and serving LLMs.
- mistral.rs Fast, flexible LLM inference in Rust
- Colossal-AI PyTorch library for distributed training, fine-tuning and inference of large AI models