---
title: "Scaling NVIDIA TensorRT Performance Optimization Beyond a Single Build Route with the Global Performance Tuner, Part 2"
description: "The Global Performance Tuner in TensorRT 11.1 provides automatic, accuracy-aware, end-to-end performance tuning, replacing reliance on a single default scheduling strategy with explicit build routes. Each build route is a concrete combination of compiler knobs controlling scheduling decisions; TensorRT 11.1 exposes over 200 such knobs. The tuning loop iterates over candidate routes, builds each engine, measures its accuracy and end-to-end performance against user-supplied references, and excludes any that fail to meet a tolerance threshold. This process decouples performance optimization from accuracy constraints, addressing the performance-accuracy entanglement problem described in Part 1. In evaluated workloads, tuning delivered 1.14x to 1.63x speedups over the default route, and best practices include re-tuning after any change to the model, input shapes, hardware, or software stack."
---

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

[NVIDIA](https://yomu.fyi/company/nvidia-developer-blog) · Tanya Lenz · Oct 23, 2026

**Type:** Explainer

## Summary

The Global Performance Tuner in TensorRT 11.1 provides automatic, accuracy-aware, end-to-end performance tuning, replacing reliance on a single default scheduling strategy with explicit build routes. Each build route is a concrete combination of compiler knobs controlling scheduling decisions; TensorRT 11.1 exposes over 200 such knobs. The tuning loop iterates over candidate routes, builds each engine, measures its accuracy and end-to-end performance against user-supplied references, and excludes any that fail to meet a tolerance threshold. This process decouples performance optimization from accuracy constraints, addressing the performance-accuracy entanglement problem described in Part 1. In evaluated workloads, tuning delivered 1.14x to 1.63x speedups over the default route, and best practices include re-tuning after any change to the model, input shapes, hardware, or software stack.

## Context

The Global Performance Tuner in TensorRT 11.1 provides automatic, accuracy-aware performance tuning for deep learning models by exploring multiple build routes defined by compiler knobs.

## Approach / What changed

The tuning loop iterates over candidate build routes, builds each engine, measures accuracy against user-supplied references, and selects the fastest engine that meets the accuracy tolerance. TensorRT exposes APIs to apply routes and discover available knobs; trtexec provides a ready-to-use tuner implementation.

## Takeaways

- The Global Performance Tuner replaces a single default scheduling strategy with model-specific build routes, enabling automatic, accuracy-aware performance tuning.
- Accuracy and performance are decoupled by a user-defined tolerance threshold; only routes meeting the tolerance are considered for performance comparison.
- The optimal build route is specific to the model, input shapes, target GPU, and software stack; re-tuning is necessary after any change.

## FAQ

### How does the Global Performance Tuner handle the accuracy-performance trade-off?

It uses a user-defined accuracy tolerance threshold. Only candidate engines whose outputs meet the tolerance relative to reference outputs are eligible, and the fastest eligible engine is selected.

### Can I reuse a build route found for one deployment in another?

No. The best route depends on the specific model, input shapes, target GPU, and software stack. A route that improves one deployment may cause regressions in another, so re-tuning is required after any change.

### How can I implement a custom tuner using TensorRT APIs?

TensorRT provides IBuilderConfig APIs: setBuildRoute, getBuildRoute, and getAllBuildRoutes to apply routes and discover available knobs. Developers can build custom search strategies using these APIs, as demonstrated by the open-source trtexec implementation.

**Tags:** [Compiler](https://yomu.fyi/topic/compiler), [NVIDIA](https://yomu.fyi/topic/nvidia), [Optimization](https://yomu.fyi/topic/optimization), [Performance](https://yomu.fyi/topic/performance), [TensorRT](https://yomu.fyi/topic/tensorrt)

- Source: [NVIDIA](https://developer.nvidia.com/blog/scaling-nvidia-tensorrt-performance-optimization-beyond-a-single-build-route-with-the-global-performance-tuner-part-2)
- Source URL: https://developer.nvidia.com/blog/scaling-nvidia-tensorrt-performance-optimization-beyond-a-single-build-route-with-the-global-performance-tuner-part-2
- Ingested by Yomu: 2026-10-23T18:00:36.703Z

[Read original post](https://developer.nvidia.com/blog/scaling-nvidia-tensorrt-performance-optimization-beyond-a-single-build-route-with-the-global-performance-tuner-part-2)
