# onnx/onnx-tensorrt

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/onnx-onnx-tensorrt).**

3,187 stars · 546 forks · C++ · apache-2.0

## Links

- GitHub: https://github.com/onnx/onnx-tensorrt
- awesome-repositories: https://awesome-repositories.com/repository/onnx-onnx-tensorrt.md

## Topics

`deep-learning` `nvidia` `onnx`

## Description

This project is a deep learning model compiler and parser that converts ONNX models into optimized TensorRT engines. It functions as a bridge that maps standardized ONNX operators to vendor-specific kernels to enable high-performance inference on NVIDIA GPUs.

The system operates as a GPU inference optimizer, selecting hardware-specific kernels and tuning memory allocation to maximize throughput. It transforms neural network graphs into serialized binary execution plans to reduce runtime overhead.

The toolset covers deep learning model deployment and edge AI performance tuning. It includes capabilities for inference engine compilation and model compatibility verification to ensure models can be parsed and executed on target devices.

## Tags

### Artificial Intelligence & ML

- [ONNX-to-TensorRT Conversions](https://awesome-repositories.com/f/artificial-intelligence-ml/ml-library-integrations/tensorrt-framework-integrations/onnx-to-tensorrt-conversions.md) — Converts ONNX models into optimized TensorRT engines for high-performance inference on NVIDIA GPUs. ([source](https://cdn.jsdelivr.net/gh/onnx/onnx-tensorrt@10.15-GA/README.md))
- [Inference Optimization Tools](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-optimization-and-inference/serving-and-runtime/inference-optimization-utilities/inference-optimization-tools.md) — Applies hardware-specific kernel selection and memory tuning to maximize machine learning model throughput.
- [Model Deployment](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-optimization-and-inference/training-algorithms/deep-learning-optimization/model-deployment.md) — Preparing machine learning models for production by ensuring they can be parsed and executed efficiently on target devices.
- [GPU Kernel Selection Heuristics](https://awesome-repositories.com/f/artificial-intelligence-ml/model-architecture-selection/heuristic-selection-logic/gpu-kernel-selection-heuristics.md) — Automatically selects the most efficient GPU execution kernels based on the target hardware architecture and available memory.
- [Graph-Based Inference](https://awesome-repositories.com/f/artificial-intelligence-ml/model-inference-runtimes/graph-based-inference.md) — Translates standardized ONNX model graphs into a format compatible with hardware-accelerated inference backends.
- [Operator Mappings](https://awesome-repositories.com/f/artificial-intelligence-ml/operator-mappings.md) — Maps generic neural network operators from the ONNX standard to highly optimized vendor-specific kernels.
- [Dynamic Tensor Shapes](https://awesome-repositories.com/f/artificial-intelligence-ml/dynamic-tensor-shapes.md) — Determines optimal memory allocation and tensor dimensions during the build process to support variable input sizes.
- [Edge AI Runtimes](https://awesome-repositories.com/f/artificial-intelligence-ml/edge-ai-runtimes.md) — Optimizes model execution and latency for real-time applications running on embedded or server-grade GPUs.
- [ONNX-to-TensorRT Compatibility Verifications](https://awesome-repositories.com/f/artificial-intelligence-ml/ml-library-integrations/tensorrt-framework-integrations/onnx-to-tensorrt-conversions/onnx-to-tensorrt-compatibility-verifications.md) — Verifies if an ONNX model can be successfully converted to a specific TensorRT version before production deployment.
- [Model Runtime Compatibility Verifications](https://awesome-repositories.com/f/artificial-intelligence-ml/model-compatibility-layers/model-runtime-compatibility-verifications.md) — Provides command-line tools to verify if a model can be parsed and built into an engine before deployment. ([source](https://cdn.jsdelivr.net/gh/onnx/onnx-tensorrt@10.15-GA/README.md))

### DevOps & Infrastructure

- [Inference Engine Compilers](https://awesome-repositories.com/f/devops-infrastructure/inference-engine-compilers.md) — Builds hardware-specific inference engines from model definitions to eliminate runtime parsing overhead.

### Programming Languages & Runtimes

- [Ahead-of-Time Kernel Compilation](https://awesome-repositories.com/f/programming-languages-runtimes/compiler-interpreter-internals/compiler-toolchains/execution-mode-engines/ahead-of-time-kernel-compilation.md) — Implements ahead-of-time compilation of model weights and topology into binary engine files to eliminate runtime overhead.

### Web Development

- [Neural Network Binary Serialization](https://awesome-repositories.com/f/web-development/model-serializers/neural-network-binary-serialization.md) — Transforms neural network graphs into serialized binary execution plans to reduce runtime overhead.

### Data & Databases

- [Model Execution Plan Caching](https://awesome-repositories.com/f/data-databases/query-caching-strategies/query-plan-caching/model-execution-plan-caching.md) — Stores optimized execution plans on disk to enable rapid model loading without repeating the optimization process.

### Development Tools & Productivity

- [Model-to-Runtime Compatibility Verifications](https://awesome-repositories.com/f/development-tools-productivity/compatibility-verification/model-to-runtime-compatibility-verifications.md) — Tests whether an ONNX model is compatible with specific TensorRT versions before deployment.
