Duplicated with The code that builds well in tensorRT 7.1.3 is tensorRT 8.0.1 gives the following error: - Jetson & Embedded Systems / Jetson Nano - NVIDIA Developer Forums