Skip to content
IJK

TensorRT Scheduling: Where Individually Good Choices Fail

By IJK ·

What NVIDIA's post says about transformations that help one network and hurt another, faster kernels that interact poorly and accuracy limits.

A transformation that helps one network

A transformation that accelerates one network may slow another. [1]

A faster kernel in isolation

A kernel that is faster in isolation may interact poorly with fusion, tensor layouts, or memory traffic elsewhere in the graph. [2]

A transformation that accelerates one networkmay slow anotherA kernel faster in isolationmay interact poorly with fusion, layouts or memor...Aggressive schedulingmay violate an accuracy requirement
How can a scheduling choice fail?

Accuracy limits

Aggressive scheduling may improve performance while violating an application’s accuracy requirement. [3]

Sources

  1. The NVIDIA source says: A transformation that accelerates one network may slow another. TensorRT Performance Optimization Beyond a Single Build Route
  2. The NVIDIA source says: A kernel that is faster in isolation may interact poorly with fusion, tensor layouts, or memory traffic elsewhere in the graph. TensorRT Performance Optimization Beyond a Single Build Route
  3. The NVIDIA source says: Aggressive scheduling may improve performance while violating an application’s accuracy requirement. TensorRT Performance Optimization Beyond a Single Build Route

Editorial (AI-assisted; automatically checked, not human-reviewed). Each statement is linked to its source; check the source before relying on a detail.

  • tensorrt
  • deep learning
  • inference
  • nvidia