News ·
Scaling NVIDIA TensorRT Performance Optimization Beyond a Single Build Route with the Global Performance Tuner, Part 2
{"summary": "NVIDIA details the Global Performance Tuner in TensorRT 11.1, which searches combinations of over 200 compiler knobs as build routes, delivering 1.14x to 1.63x end-to-end speedups across ten workloads.", "description": "NVIDIA published Part 2 of its series on the Gl

{"summary": "NVIDIA details the Global Performance Tuner in TensorRT 11.1, which searches combinations of over 200 compiler knobs as build routes, delivering 1.14x to 1.63x end-to-end speedups across ten workloads.", "description": "NVIDIA published Part 2 of its series on the Global Performance Tuner, an automatic performance tuning feature in TensorRT 11.1. The post explains the algorithm and architecture: alternative scheduling strategies are represented as explicit, searchable build routes, where each route is a combination of compiler knob values (settings affecting heuristics, fusion decisions, or code generation). TensorRT exposes C++ APIs to apply and inspect a fixed route and to discover the full tunable configuration space of more than 200 knobs with their allowed values and defaults. A knob combination is a route specification, not the full engine build; tactic selection and constraint reconciliation still happen inside the builder.", "trtexec implements a tuning loop: it expands a regex-like route expression into concrete build routes, then iterates over them, building and measuring each candidate. Routes that crash or fail accuracy checks are discarded, and the fastest eligible engine is selected. Accuracy-aware tuning treats accuracy as a constraint that filters candidates, with performance as the ranking criterion among survivors. Across ten evaluated workloads, tuning produced end-to-end speedups of 1.14x to 1.63x over the default build route.", "Best practice

References
- NVIDIA · developer.nvidia.com
Read the full story at NVIDIA ↗Like, save or discuss on Buzz


