Appendix: Migrating from TensorRT 8.x to 10.x#
This appendix explains how to migrate from NVIDIA TensorRT 8.x to 10.x.
If you are unfamiliar with these changes, refer to our sample code for clarification.
In this guide
Python Integration: migrate Python inference and engine-build flows, and review Python APIs added and removed in 10.x
C++ Integration: migrate C++ inference and engine-build flows, including 64-bit dimension updates
trtexec Command-Line Usage: migrate
trtexeccommand lines, and review removed or deprecated flag replacementsSafety Runtime: migrate safety runtime code paths, and review removed safety C++ APIs
Suggested Reading Order#
Start with Python Integration or C++ Integration for application code paths (read both only if you maintain both stacks).
Add trtexec Command-Line Usage when your workflow depends on CLI flags or scripts.
Read Safety Runtime when you target the safety runtime instead of the standard runtime.
Attention
TensorRT 10.x safety proxy runtime support on QNX Standard (without QNX Safety support) is available in limited, alpha-quality capacity in this release. Full functional safety runtime support, including QNX Safety, is planned for a future sideband drop on top of NVIDIA DriveOS 7.2.5.
Next Steps#
After completing the 8.x-to-10.x migration, continue to Migrating from TensorRT 10.x to 11.x for the next set of API and tooling changes.