tensorrt
TensorRT Metapackage
Decision gist · record as of 2026-08-14
Yes, if you deploy deep learning models on NVIDIA GPUs and need production-grade inference optimization. TensorRT is the standard tool for this task, actively maintained, and widely adopted (top 15000 packages). However, installation requires CUDA toolkit, system-level build tools, and the TensorRT GA build v11.2.1.2; proprietary licensing requires license review for commercial use; and version 11.X breaks backward compatibility with 10.X APIs. Install only if you have GPU infrastructure and can meet compilation prerequisites.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires CUDA toolkit (recommended versions 13.3.0 or 12.9.0), cuDNN (optional, 8.9), and TensorRT GA build v11.2.1.2 to be downloaded and extracted separately; Python >= 3.10, <= 3.14.x required for building from source.
- High install friction: requires tensorrt_cu13 runtime dependency and TensorRT GA build v11.2.1.2.
- Actively maintained (last commit 2026-08-04, released 2026-07-30) with strong community adoption (13250 stars), but installation demands CUDA toolkit and system-level build prerequisites.
License · maintenance · safety
Proprietary (unclear) — Licensed as Proprietary with unclear license treatment. Users should review NVIDIA's licensing terms before deploying in production or commercial contexts, as the exact scope of permitted use is not standardized under an open-source identifier.
last release 2026-07-30 (15 days) · last repo commit 2026-08-04 · 13,250 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 197,616 downloads/mo, #9,754 on PyPI
Alternatives
Verify before relying
pip install tensorrt
import tensorrt as trt
logger = trt.Logger(trt.Logger.WARNING)
builder = trt.Builder(logger)- Whether the prebuilt pip package includes all required runtime components or if separate CUDA/CUDNN installation is mandatory.
- Whether tensorrt_cu13 dependency is automatically resolved or requires manual CUDA 13.x environment setup.
- Exact Python version support within the >=3.8 range, given removal of Python 3.9 and older bindings in version 11.X.
What it is and what it does
TensorRT is NVIDIA's inference optimization library that compiles trained deep learning models into optimized GPU-resident engines. It reduces model size, latency, and memory consumption through layer fusion, quantization, and kernel auto-tuning, making it the standard tool for deploying neural networks on NVIDIA GPUs in production.
Version 11.2.1.2 is a major release that removes legacy APIs (weakly-typed networks, implicit quantization, IPluginV2) in favor of modern alternatives (Strongly Typed Networks, Explicit Quantization, IPluginV3). Installation requires the TensorRT GA build plus CUDA toolkit and system dependencies; the package is actively maintained and widely used (197616 monthly downloads), but carries high install friction due to compiled dependencies and GPU-specific requirements.
Use it for
- Compile ONNX or PyTorch models into optimized TensorRT engines for low-latency inference on NVIDIA GPUs.
- Deploy large language models or vision transformers with reduced memory footprint using quantization and kernel optimization.
- Benchmark and profile model inference performance across different batch sizes and precision levels on target hardware.
- Integrate optimized inference engines into production services for real-time inference workloads.
- Migrate from TensorRT 10.X to 11.X by refactoring weakly-typed networks to Strongly Typed Networks and updating custom plugins to IPluginV3.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you deploy deep learning models on NVIDIA GPUs and need production-grade inference optimization.
TensorRT is the standard tool for this task, actively maintained, and widely adopted (top 15000 packages). However, installation requires CUDA toolkit, system-level build tools, and the TensorRT GA build v11.2.1.2; proprietary licensing requires license review for commercial use; and version 11.X breaks backward compatibility with 10.X APIs. Install only if you have GPU infrastructure and can meet compilation prerequisites.
Install
tensorrt on PyPI
Before you install
High install friction: requires tensorrt_cu13 runtime dependency and TensorRT GA build v11.2.1.2. Actively maintained (last commit 2026-08-04, released 2026-07-30) with strong community adoption (13250 stars), but installation demands CUDA toolkit and system-level build prerequisites.
Requires CUDA toolkit (recommended versions 13.3.0 or 12.9.0), cuDNN (optional, 8.9), and TensorRT GA build v11.2.1.2 to be downloaded and extracted separately; Python >= 3.10, <= 3.14.x required for building from source.
License in practice
Licensed as Proprietary with unclear license treatment. Users should review NVIDIA's licensing terms before deploying in production or commercial contexts, as the exact scope of permitted use is not standardized under an open-source identifier.
Quickstart
pip install tensorrt
import tensorrt as trt
logger = trt.Logger(trt.Logger.WARNING)
builder = trt.Builder(logger)
Verify before relying
- Whether the prebuilt pip package includes all required runtime components or if separate CUDA/CUDNN installation is mandatory.
- Whether tensorrt_cu13 dependency is automatically resolved or requires manual CUDA 13.x environment setup.
- Exact Python version support within the >=3.8 range, given removal of Python 3.9 and older bindings in version 11.X.
Package facts
| License | Proprietary unclear |
| Python support | Supports the current Python release >=3.8 |
| Install friction | High. Source build required |
| Runtime dependencies | 1 packagetensorrt_cu13 |
| Maintenance | Actively maintained 15 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 197,616 / month, #9,754 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: Other/Proprietary LicenseProgramming Language :: Python :: 3 |
Evidence: tensorrt-11.2.1.2.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “tensorrt engine compilation”
- tensorrtTensorRT compiles and optimizes deep learning models for deployment…
- tensorrt-cu13Provides Python bindings for NVIDIA TensorRT, a deep learning…
- tensorrt-cu13-libsProvides NVIDIA TensorRT libraries for GPU-accelerated deep learning…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also tensorrt-cu13 · tensorrt-cu12 · tensorrt-cu13-libs · tensorrt-cu13-bindings · tensorrt-cu12-libs · polygraphy · tensorrt-cu12-bindings · nvidia-modelopt · torch · sit4onnx