Scaling NVIDIA TensorRT Performance Optimization Beyond a Single Build Route with the Global Performance Tuner, Part 2

AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.

Why it matters

TensorRT 11.1 users can now auto-tune compiler knobs for 1.14x-1.63x faster inference instead of accepting the default build.

Read this as

NVIDIA explains part two of its Global Performance Tuner, a tool in TensorRT 11.1 that automatically finds the fastest way to compile a neural network for deployment. Instead of guessing one setting, it tries many 'build routes' (combinations of compiler settings), discards any that crash or hurt accuracy, and keeps the fastest. Across ten test workloads it ran 1.14x to 1.63x faster than the default. This matters to engineers who ship AI models to NVIDIA GPUs.

Teams deploying models on NVIDIA hardware via TensorRT 11.1 can cut inference latency without touching their model: the Global Performance Tuner measured 1.14x to 1.63x speedups over the default build across ten workloads. The cost is tuning time, searches can be long, though a cache file lets them resume if interrupted. Accuracy is treated as a user-defined constraint, so teams must supply representative data and thresholds. Competing runtimes without automated knob search may lag on the same GPUs.

TensorRT 11.1's Global Performance Tuner treats scheduling alternatives as explicit build routes, combinations of over 200 compiler knobs, searchable via new IBuilderConfig C++ APIs (setBuildRoute, getBuildRoute, getAllBuildRoutes). trtexec expands a route expression, builds and measures each candidate, drops crashers and accuracy failures, and picks the fastest; a Python version ships in Torch-TensorRT 2.15. Measured gains: 1.14x-1.63x over default across ten workloads. Caveats: search space explodes with knob count; --dryRun doesn't work with mixed search.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

TensorRT trtexec Global Performance Tuner Torch-TensorRT NVIDIA

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading