News

NVIDIA details TensorRT Global Performance Tuner build-route design

NVIDIA explains how TensorRT 11.1’s Global Performance Tuner searches build routes, measures accuracy and selects the fastest eligible engine.

NVIDIA details TensorRT Global Performance Tuner build-route design

NVIDIA has outlined the design and operating model of its TensorRT Global Performance Tuner, a feature released in TensorRT 11.1 that searches across alternative build routes to improve inference performance while respecting accuracy constraints, according to a developer blog published on 2026-10-23.

Evidence and context

In the post, NVIDIA describes the tuner as an automatic, accuracy-aware and end-to-end performance optimization system that customizes compiler decisions for different models. The company says the core idea is to represent alternative scheduling strategies as explicit and searchable build routes, rather than relying on a single default compilation path. When no route is specified, TensorRT uses its default build route, in which every compiler knob remains at its default value, NVIDIA says.

The blog explains that a build route is a combination of tunable compiler knob values, while the route specification is not the complete engine description. TensorRT still performs the remaining engine-building steps, including tactic selection, and may reconcile requested values with network constraints. NVIDIA says TensorRT exposes APIs to set, query and enumerate build routes through IBuilderConfig::setBuildRoute, IBuilderConfig::getBuildRoute and IBuilderConfig::getAllBuildRoutes.

According to the post, the open-source trtexec sample implements a tuning loop that expands a route expression into concrete routes, builds each candidate, measures accuracy and performance, excludes routes that crash or fail accuracy checks, and selects the fastest eligible engine. NVIDIA says TensorRT 11.1 provides more than 200 knobs for tuning, and that the Python implementation will also be released in Torch-TensorRT 2.15.

Performance results and limitations

NVIDIA says the practical effect of exploring multiple build routes is visible in end-to-end measurements. In a figure referenced in the post, the company compares the default TensorRT route, normalized to 1.0x, with the best eligible route found during tuning across ten workloads. NVIDIA says the measured performance improvement ranged from 1.14x to 1.63x, depending on workload. The company attributes the variation to differences in optimization opportunities across models and deployment shapes.

The post also uses a hypothetical example to describe performance-accuracy entanglement. NVIDIA says the tuner treats accuracy as a constraint and performance as the ranking metric among candidates that meet that constraint. The blog notes that the exact eligible set depends on the user-supplied accuracy metric, reference data and tolerance threshold, and that the illustrative counts in the example are not universal. It also says the thought experiment is independent of any specific TensorRT release and is meant to show the broader optimization principle.

NVIDIA says the Global Performance Tuner does not eliminate trade-offs; instead, it makes them explicit. The company frames the process as constrained optimization, with accuracy defining acceptable candidates and measured end-to-end performance determining the winner among those candidates.

Operational guidance

The post offers several usage guidelines. NVIDIA recommends choosing search strategy based on the size of the search space, treating the default build route as a baseline, and using fast, mixed or full search depending on how many knobs are under evaluation. The company says --dryRun can display the route list before tuning begins, but that option is not supported with mixed search because its second phase depends on prior measurements.

NVIDIA also says tuning can be incremental and resumable when a tuning cache file is used, with --continue allowing a sweep to resume from recorded state. For debugging, --saveAllEngines can preserve every engine produced during tuning, though the company warns it may require substantial storage. The post adds that previous tuning outcomes should be treated as guidance rather than transferable results, since the best route depends on the model, shapes, hardware, software stack and TensorRT version.

The blog is part of a broader TensorRT release cycle that has continued beyond 11.1. NVIDIA’s changelog shows TensorRT 11.3 GA on 2026-09-22 and TensorRT 11.4 GA on 2026-10-09, while TensorRT 11.1 GA was released on 2026-06-24. The latest release listed in the supplied background is 11.4.0.