NVIDIA TensorRT Migration Guide#
This guide covers the API and tooling changes required to migrate NVIDIA TensorRT workloads on NVIDIA DriveOS 6.x and 7.x. It addresses two migration paths: TensorRT 10.x to 11.x (primary) and TensorRT 8.x to 10.x (appendix).
If you are unfamiliar with these changes, refer to the TensorRT sample code for clarification.
Choose Your Migration Path#
Use the tables below to pick the page that matches your starting version, deployment target, and integration surface. Each linked page includes paired before/after examples where applicable.
Migrating from TensorRT 10.x to 11.x (primary path)
If you… |
Start here |
|---|---|
Need the full 10.x → 11.x overview (strong typing, plugin V3, removed APIs) |
|
Ship a Python application or build script |
|
Ship a C++ application |
|
Use trtexec or other CLI build/inference workflows |
|
Use the Safety Runtime (ISO 26262 automotive) |
|
Depend on IEngineInspector for engine introspection |
|
Deploy on NVIDIA DriveOS |
|
Deploy on Jetson / JetPack |
Migrating from TensorRT 8.x to 10.x (appendix)
If you… |
Start here |
|---|---|
Are still on 8.x and upgrading to 10.x first |
|
Need Python API deltas for 8.x → 10.x |
|
Need C++ API deltas for 8.x → 10.x |
|
Need trtexec changes for 8.x → 10.x |
|
Need Safety Runtime changes for 8.x → 10.x |
Migrating from TensorRT 10.x to 11.x (primary)
- Migrating from TensorRT 10.x to 11.x
- Migrating Python Code from TensorRT 10.x to 11.x
- Migrating C++ Code from TensorRT 10.x to 11.x
- Migrating
trtexecUsage from TensorRT 10.x to 11.x - Migrating Safety Runtime Code from TensorRT 10.x to 11.x
- Migrating
IEngineInspectorUsage from TensorRT 10.x to 11.x - Migrating TensorRT from 10.x to 11.x on NVIDIA DriveOS
- Migrating TensorRT from 10.x to 11.x on Jetson/JetPack
Appendix — Migrating from TensorRT 8.x to 10.x
See also
- C++ API Reference
Full C++ API documentation.
- Python API Reference
Full Python API documentation.
- Version Compatibility
Engine compatibility across TensorRT versions and hardware.
- Troubleshooting
Common errors and debugging guidance.
- Upgrading TensorRT
Package-level upgrade instructions (pip, Debian, RPM, tar, zip) to complement API-level migration.
- TensorRT GitHub: Compare Releases
View API changes between releases using the GitHub compare tool.