- Type
- Inference optimisation SDK and runtime
- Developer
- NVIDIA
- First released
- 2017 (in NVIDIA deep learning stack)
- Supported frameworks
- PyTorch, TensorFlow, ONNX
- Target hardware
- NVIDIA GPUs (data centre, edge, automotive, RTX)
- Related
- CUDA, TensorRT-LLM, TensorRT-RTX, vLLM
- Type
- Inference optimisation SDK and runtime
- Developer
- NVIDIA
- First released
- 2017 (in NVIDIA deep learning stack)
- Supported frameworks
- PyTorch, TensorFlow, ONNX
- Target hardware
- NVIDIA GPUs (data centre, edge, automotive, RTX)
- Related
- CUDA, TensorRT-LLM, TensorRT-RTX, vLLM
NVIDIA TensorRT is a software development kit (SDK) and inference optimisation runtime developed by NVIDIA for deploying trained deep learning models on NVIDIA graphics processing units (GPUs). TensorRT imports models from frameworks such as PyTorch, TensorFlow, and ONNX and compiles them into highly optimised runtime engines that deliver low-latency and high-throughput inference, with NVIDIA reporting that TensorRT-based applications can perform up to 40 times faster than CPU-only platforms during inference.[1][2]
History and Background
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 optimises deep learning models for inference and creates a runtime for deployment on GPUs in production environments.[1]
Over time the TensorRT name has expanded into a broader product family: the core TensorRT SDK, TensorRT-LLM (a specialised toolkit for large language model inference), and TensorRT-RTX (optimised for consumer RTX GPUs in desktops, laptops, and workstations). The core SDK is primarily a proprietary NVIDIA product, although NVIDIA also maintains Apache-licensed open-source TensorRT repositories and companion projects.[1][3]
Key Concepts and Technology
Engine compilation: The core of TensorRT is a C++ library that takes a trained network — a network definition plus trained parameters — and produces a highly optimised runtime engine for inference on NVIDIA GPUs. Models can be expressed directly through TensorRT's network definition API or imported through its ONNX parser, and both C++ and Python APIs are provided.[1]
Optimisation techniques: TensorRT applies several advanced techniques to accelerate inference, including layer fusion (combining adjacent operations such as convolution and activation into single kernels), precision calibration (converting models to lower-precision arithmetic such as FP16, BF16, FP8, INT8, FP4, and INT4 with minimal accuracy loss), kernel auto-tuning (selecting the fastest implementation for the target GPU), and efficient memory management.[2][4]
TensorRT-LLM: The LLM-specific toolkit provides a Python API for building TensorRT engines optimised for large language model workloads, with pre-built implementations of popular open-source models, multi-GPU and multi-node support, in-flight batching, paged KV caching, and FP8/INT8/INT4 quantisation to maximise serving throughput and minimise latency.[3]
Deployment targets: TensorRT supports NVIDIA data centre GPUs (A100, H100, H200), edge devices (Jetson), automotive platforms (DRIVE), and consumer RTX hardware, with precision features varying by architecture.[3][5]
Applications and Impact
TensorRT is widely used to deploy computer vision models (object detection, segmentation, pose estimation), natural language processing systems, and generative AI applications in production. It is a standard component of the NVIDIA AI stack, complementing CUDA for training and enabling efficient inference across cloud, data centre, edge, and embedded environments. TensorRT-LLM is recommended by NVIDIA for deploying LLMs in production at scale, and it interoperates with serving frameworks in the broader inference ecosystem.[3][5]
>See Also
References
🇲🇾 NVIDIA TensorRT is a key enabling technology for Malaysian AI companies deploying models on NVIDIA GPUs, whether in local data centres, cloud instances in the Singapore region, or on edge devices such as the Jetson platform used in Malaysian computer vision and industrial automation projects. Malaysian developers commonly convert PyTorch or ONNX models to TensorRT engines to reduce inference cost and latency for production workloads such as real-time video analytics, retail computer vision, and Bahasa Malaysia NLP services.[4]
For Malaysian organisations bound by PDPA data localisation considerations, TensorRT's ability to run optimised models on-premises or on dedicated GPU infrastructure supports private inference deployments that avoid sending data to overseas APIs. The Malaysian government's AI initiatives, including MDEC programmes and the National AI Office (NAIO), encourage local adoption of GPU-based inference infrastructure, and TensorRT is a standard optimisation layer in Malaysian AI training and deployment curricula.[6]
As Malaysia's data centre sector expands — with major GPU clusters built in Johor and the Klang Valley — TensorRT plays a role in making locally hosted inference economically viable, allowing Malaysian startups to serve AI products at scale without per-token API costs from foreign providers.[6]
References
- ↑[Wikipedia — TensorRT](https://en.wikipedia.org/wiki/TensorRT)
- ↑[NVIDIA TensorRT Documentation — Latest](https://docs.nvidia.com/deeplearning/tensorrt/latest)
- ↑[NVIDIA TensorRT Product Family — NVIDIA Docs](https://docs.nvidia.com/tensorrt/index.html)
- ↑[Ultralytics Glossary — What is NVIDIA TensorRT?](https://www.ultralytics.com/glossary/tensorrt)
- ↑[NVIDIA TensorRT — SourceForge description](https://sourceforge.net/projects/tensorrt.mirror)
- ↑[MDEC — Official website](https://www.mdec.my)