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)

Migrating from TensorRT 10.x to 11.x

Ship a Python application or build script

Python API migration

Ship a C++ application

C++ API migration

Use trtexec or other CLI build/inference workflows

trtexec migration

Use the Safety Runtime (ISO 26262 automotive)

Safety Runtime migration

Depend on IEngineInspector for engine introspection

IEngineInspector migration

Deploy on NVIDIA DriveOS

DriveOS migration

Deploy on Jetson / JetPack

Jetson migration

Migrating from TensorRT 8.x to 10.x (appendix)

If you…

Start here

Are still on 8.x and upgrading to 10.x first

Appendix overview

Need Python API deltas for 8.x → 10.x

Python API migration

Need C++ API deltas for 8.x → 10.x

C++ API migration

Need trtexec changes for 8.x → 10.x

trtexec migration

Need Safety Runtime changes for 8.x → 10.x

Safety Runtime migration

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.