Deprecation Policy#

Deprecation informs developers that some APIs and tools are no longer recommended and are planned for removal. TensorRT-RTX has the following deprecation policy (similar to the TensorRT deprecation policy).

  • Deprecation notices are communicated in the Release Notes.

  • When using C++ API:

    • API functions are marked with the TRT_DEPRECATED_API macro.

    • Enums are marked with the TRT_DEPRECATED_ENUM macro.

    • All other locations are marked with the TRT_DEPRECATED macro.

    • Classes, functions, and objects will have a statement documenting when they were deprecated.

  • When using the Python API, deprecated methods and classes will issue deprecation warnings at runtime if they are used.

  • TensorRT-RTX provides a 12-month migration period after the deprecation.

  • APIs and tools continue to work during the migration period.

After the migration period ends, APIs and tools are removed in a manner consistent with semantic versioning.