Skip to content

Latest commit

Β 

History

History
270 lines (174 loc) Β· 9.64 KB

CHANGELOG.md

File metadata and controls

270 lines (174 loc) Β· 9.64 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[0.10.0+rtx1.7] - 2026-11-24

πŸ“š Documentation

  • Fix TRT RTX download link and doc lints (#159)
  • Use doc_cfg feature on docs.rs, replace pretty_env_logger (#164)

🚜 Refactor

  • [breaking] Share RuntimeConfig with Arc (#161)

βš™οΈ Miscellaneous Tasks

  • [breaking] Remove deprecated methods (#160) Removed all deprecated Rust API methods, including the old getter aliases and NetworkDefinition::add_dynamic_quantize. Use the current getter names and NetworkDefinition::add_dynamic_quantize_v2 instead. This is a breaking API change.
  • Use libclang-21-dev via LIBCLANG_PATH and change nvidia-nvtx to nvtx (#162)

[0.9.1+rtx1.7] - 2026-10-16

Hotfix release to restore previous version 0.92 of bindgen. bindgen 0.93 broke RustNN's darling.

[0.9.0+rtx1.7] - 2026-10-16

See what's new in TensorRT RTX 1.7 https://docs.nvidia.com/deeplearning/tensorrt-rtx/latest/index.html#what-s-new-in-nvidia-tensorrt-rtx-1-7

πŸš€ Features

  • Add get_tensorrt_build_version (#146)
  • Add support for TensorRT RTX 1.7 (#147)
  • Add support for building without weight data (#148)
  • Add some TRT RTX 1.7 features (without IWeightManager) (#150)
  • Add WeightManager (#151)

πŸ“š Documentation

  • Update README.md and remove DESIGN.md (#144)
  • Remove AGENTS.md (#153)

βš™οΈ Miscellaneous Tasks

  • Add .rgignore that filters TRT headers except the newest (#145)
  • Remove mock feature docs from CI (#154)

πŸ’Ό Other

  • Update TensorRT Enterprise headers from 11.1 to 11.4 (#149)

[0.8.1+rtx1.6] - 2026-09-10

This is a hotfix release to fix the -rtx1.5 suffix on crates.io for the previous release. It should have been -rtx1.6 corresponding to the supported TensorRT RTX version.

πŸš€ Features

  • Allow setting GpuAllocator for Runtime (#139)
  • Add Builder::set_gpu_allocator (#140)

πŸ’Ό Other

  • (trtexec-rs) Switching back to RustNN main (#138)
  • Fix wrong version suffix from rtx1.5 to rtx1.6 (#141)

[0.8.0+rtx1.6] - 2026-07-30

See what's new in TensorRT RTX 1.6 https://docs.nvidia.com/deeplearning/tensorrt-rtx/latest/index.html#what-s-new-in-nvidia-tensorrt-rtx-1-6

πŸš€ Features

  • (trtexec-rs) --weights-as-inputs for webnn files (#123)
  • Implement Send for HostMemory (#127)
  • Support for build routes (#133)
  • Implement deferred weight loading and StreamReaderV2 (#134)
  • Implement EngineValidity, EngineInvalidityDiagnostics (#135)

πŸ› Bug Fixes

  • Remove lifetime from RuntimeCache (#129)

πŸ’Ό Other

  • Use RustNN's new trtx-enterprise feature (#130)
  • Bump TensorRT-RTX version to 1.6 (#131)
  • Bump TensorRT enterprise to version 11.1 (#132)

πŸ“š Documentation

  • Update doc links to TensorRT RTX documentation (#136)

βš™οΈ Miscellaneous Tasks

  • Allow long path names under Windows (#128)

0.7.1+rtx1.5 - 2026-06-12

πŸš€ Features

  • Make some types Send (#121)
    • BuilderConfig
    • Builder
    • NetworkDefinition
    • Runtime
    • RuntimeConfig
    • RuntimeCache (even Sync)
    • ErrorRecorder (even Sync)

πŸ› Bug Fixes

  • Switch trtexec-rs back to RustNN main (#120)

πŸ’Ό Other

  • Bump to version v0.7.1

0.7.0+rtx1.5 - 2026-06-12

πŸš€ Features

  • Add impl for RotaryEmbeddingLayer (#110)
  • Add missing NetworkDefinition::add_XXX methods (#112)
  • [breaking] Allow to set constant weight name (#117)

πŸ› Bug Fixes

  • Add check_network calls to set_{query,key_value,update}_lengths (#111)

πŸ’Ό Other

  • Reexport all nvinfer1 enums used in API (#118)
  • Bump to 0.7.0 (#119)

πŸ“š Documentation

  • Update link to TRT RTX 1.4 release notes (#114)

βš™οΈ Miscellaneous Tasks

  • Pin tensorrt_rtx to exact version (#113)
  • Switch trtexec-rs back to RustNN main (#116)

0.6.0+rtx1.5 - 2026-05-28

πŸš€ Features

  • Add support for ShapeLayer (#89)
  • Debug for API facing types (#93)
  • Add RuntimeConfig, RuntimeCache (#101)
  • [breaking] TensorRT RTX 1.5 support, make TRT RTX 1.5 the new default (#105)
  • Export trtx_sys (#103)
  • Add support for AttentionIOForm, CausalMaskKind (TRT RTX 1.5) (#107)

πŸ› Bug Fixes

  • Return error instead of panic in Tensor::dimensions for negative nbDims (#90)
  • [breaking] Error on false return value for set_{input,output}_tensor_address (#100)
  • Manage RuntimeConfig, RuntimeCache with Arc/Rc (#102)

πŸ’Ό Other

  • Disable RUST_LOG during autocxx (#95)
  • Bump version to 0.6.0+rtx1.5

🚜 Refactor

  • Make failed library load emit warn log instead of error (#94)

πŸ“š Documentation

  • Fix link to TRT RTX documentation in README (#97)
  • Add README for trtexec-rs (#96)
  • Document build failures with libclang >= 22 (#99)
  • Update link to Rustdoc format (#106)

βš™οΈ Miscellaneous Tasks

  • Update actions/cache to v5 (#108)

0.5.0 - 2026-04-30

Added

  • trtexec-rs as a Rust port of trtexec (supports also WebNN graphs)
  • Support for IProfiler interface
  • More methods on ExecutionContext, CudaEngine and some Layers
  • Add support for setting NCCL communicator on networks

Changed

  • Removed get_ prefix from getters (old names deprecated)

Fixed

  • Fixed concurrent dynamic loading (only load libraries once)
  • Make sure OnnxParser can't be dropped before build
  • Add lifetimes of parent object to BuilderConfig

0.4.0 - 2026-04-09

Added

Changed

  • trtx now enforces with lifetimes correct usage of API
  • autocxx is now used for almost everything, even mock
  • mock now uses the same API as real mode, builder API now has limited mock coverage

Fixed

  • fixed one SEGFAULT in add_comulative (now prevented by lifetimes in API)

0.3.1 - 2026-02-26

Added

  • Added missing layer and tensor capabilities needed by RustNN: layer naming/introspection (set_layer_name, get_layer_name, get_layer_type, get_nb_layers), tensor format control (set_allowed_formats), engine tensor dtype lookup, convolution/deconvolution input setters, and expanded deconvolution controls (stride/padding/dilation/groups). Mock mode now mirrors the new APIs.
  • Extended FFI bindings with TensorRT TensorFormat and related enums so the safe API can expose format/weight type choices.

Changed

  • TensorRT libraries now auto-load on first use (builder, ONNX parser, runtime) and guard against double-loading when using dlopen mode.
  • Build script normalizes bundled TensorRT headers (size_t fixes, doxygen cleanup) to improve autocxx generation and rustdoc quality; future header drops are transformed automatically.
  • Dependency versions bumped to current releases; crate-level docs refreshed to align with README.

0.3.0 - 2025-02-11

Added

  • Dependency-Free Build: Included TensorRT-RTX headers and provided internal typedefs for essential CUDA types. This allows the crate to be built out-of-the-box without requiring a pre-installed CUDA Toolkit or TensorRT-RTX SDK.
  • Lazy DLL Loading: Implemented delay-loading for TensorRT-RTX shared libraries. This allows applications to link against trtx-rs and start up even on systems where TensorRT-RTX is not supported while at the same time utilize TensorRT-RTX on system with supported GPUs.
  • Network Definition API: The TensorRT-RTX INetworkDefinition interface is now supported, allowing networks to be built programmatically in Rust without ONNX.
  • Tiny network example: New example (examples/tiny_network.rs) demonstrating creation of a ReLU-based network from scratch.

Changed

  • Overhauled FFI Layer: Migrated from manual bindgen headers to an autocxx-based architecture. This automates safe C++ interop for the core TensorRT-RTX API and significantly reduces unsafe boilerplate, while utilizing a specialized C++ shim only for complex virtual method handling (e.g., Loggers).
  • CUDA bindings: Integrated the cudarc crate for CUDA memory management and device synchronization.
  • Improved mock mode: Overhauled mock implementations to provide stubbed types (e.g., Dims64, nvinfer1::DataType) allowing full compilation on macOS/CI without TensorRT or NVIDIA GPUs.

Fixed

  • Environment discovery: Improved build.rs to more reliably find TENSORRT_RTX_DIR and CUDA_ROOT across Windows and Linux.

Highlights for 0.3.0

  • Network Definition Interface: Exposed the core TensorRT network building API, enabling the construction of custom graph topologies (inputs, layers, and outputs) directly from Rust.
  • CUDA Integration: Migrated CUDA memory and stream management to cudarc to align with modern Rust GPU tooling.
  • Improved Portability: Expanded the mock mode to include stubbed TensorRT types, allowing the library to be compiled non-NVIDIA platforms (e.g., macOS).