This article coincides in timing and pattern with contributions by the same user which have been determined to be AI-generated, and has no significant contributions by other editors. It is presumed to have also been AI-generated, and may be assumed to violate Wikipedia's policies and guidelines. If no editor takes responsibility for it within a five-day grace period, this article may be deleted. To object to proposed deletion, an editor may take responsibility for the content and assume the onus to achieve consensus for its inclusion. Assuming responsibility requires that all content and its sources be closely reviewed and reworked as needed to ensure that they comply with policies and guidelines. This may involve checking that the cited sources support the content and are reliable, determining whether the content is due for inclusion, and rewriting the content to revise any tone issues and resolve possible copyright violations. Once this has been done, this template may be removed. The nominator also gave the following reason for this proposed deletion:
Find sources: "TensorRT" – news · newspapers · books · scholar · JSTOR Reviewer tools: guideline project (talk • log) The article may be deleted if this message remains in place for five days, i.e., after 12:32, 30 October 2026 (UTC). |
| TensorRT | |
|---|---|
| Developer | Nvidia |
| Release | 2017 |
| Written in | C++, Python, CUDA |
| Operating system | Linux, Windows |
| Platform | Nvidia GPUs |
| Type | Software development kit, Inference engine |
| License | Proprietary software; some companion components are open-source under the Apache License 2.0 |
| Website | developer |
| Repository | github github |
TensorRT is a software development kit (SDK) and inference optimization runtime developed by Nvidia for deploying trained deep learning and machine learning models on graphics processing units (GPUs). It can import models from frameworks such as PyTorch, TensorFlow, and ONNX, and compile them into optimized runtime engines for low-latency and high-throughput inference.
In current Nvidia documentation, the TensorRT name is also used for a broader product family that includes the core TensorRT SDK, TensorRT-LLM, and TensorRT-RTX. The core SDK is primarily a proprietary Nvidia product, although Nvidia also maintains Apache-licensed open-source TensorRT repositories and related companion projects.
TensorRT was available as part of Nvidia's deep learning software stack by 2017, when it was described as a high-performance inference engine for deploying trained neural networks on Nvidia GPUs. In 2018, Google announced integration of Nvidia TensorRT with TensorFlow 1.7, describing TensorRT as a library that optimizes deep learning models for inference and creates a runtime for deployment on GPUs in production environments.
The core of TensorRT is a C++ library that takes a trained network, consisting of a network definition and trained parameters, and produces a highly optimized runtime engine for inference on Nvidia GPUs. TensorRT provides both C++ and Python APIs, and models can either be expressed directly through its network definition API or imported through its ONNX parser.
According to Nvidia's documentation, TensorRT performs graph-level and kernel-level optimizations such as layer fusion and selection of efficient implementations for supported operations. Current documentation also describes support for dynamic shapes, mixed-precision execution modes including FP32, FP16, BF16, FP8, and INT8, and specialized optimizations for transformer and large language model workloads.
TensorRT engines can be generated through the TensorRT APIs or with the trtexec command-line utility. Nvidia's quick-start documentation describes deployment workflows based on ONNX conversion, runtime APIs, and direct engine deserialization for C++ and Python applications.
The licensing model around TensorRT is split between a proprietary core SDK and a set of open-source repositories and tools. The packaged TensorRT software distributed by Nvidia is governed by the Nvidia Software License Agreement. At the same time, Nvidia maintains a public TensorRT repository on GitHub under the Apache License 2.0.
Official TensorRT documentation also directs users to the TensorRT open-source software repository for quick-start code and samples. The architecture documentation describes related tooling such as Polygraphy for debugging and constant folding, as well as ONNX-GraphSurgeon for modifying ONNX graphs before deployment with TensorRT. TensorRT also supports a plugin mechanism for custom layers and unsupported operations.
Nvidia's current documentation groups several inference products under the TensorRT name. In that documentation, the core SDK is distinguished as TensorRT (Enterprise), while related offerings include TensorRT-LLM for large language model inference and TensorRT-RTX for consumer RTX GPUs.
TensorRT-LLM is a related open-source toolkit for optimizing and serving large language models on Nvidia GPUs. Nvidia describes it as providing a Python API to define LLMs and build TensorRT engines optimized for LLM workloads.
According to Nvidia's product-family documentation, TensorRT-LLM supports multi-GPU and multi-node execution, in-flight batching, paged KV cacheing, and quantization methods such as FP8, INT8, and INT4 for higher-throughput model serving. The TensorRT-LLM codebase is published on GitHub under the Apache License 2.0.
Because Nvidia documents TensorRT-LLM as a separate member of the TensorRT product family, it is typically treated as a related but distinct software project rather than as a single feature of the base TensorRT SDK.