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.
How to Use This Appendix#
Select the migration surface that matches what you ship:
- 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, and review C++ APIs and plugins removed with replacements.
- trtexec Command-Line Usage
Migrate
trtexeccommand lines, and review removed or deprecated flag replacements.- Safety Runtime
Migrate safety runtime code paths, and review removed safety C++ APIs with replacements.
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.