From 6961520dba31be52ba05730f5633c0088e272312 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Sat, 17 Oct 2026 20:13:08 +0200 Subject: [PATCH] docs: fix TRT RTX download link and doc lints We were pointing to TensorRT enterprise. --- README.md | 6 +++--- trtx/src/interfaces.rs | 2 +- trtx/src/lib.rs | 4 +++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 490b4ce..d37ebde 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,8 @@ trtx-rs/ You can steer discovery of libclang using LIBCLANG_PATH environment variable if auto-discovery discovers a wrong version of libclang, e.g. - $env:LIBCLANG_PATH="D:\programs\LLVM\bin" # powershell windows - export LIBCLANG_PATH=/usr/lib/llvm-19/lib # linux + $env:LIBCLANG_PATH="D:\programs\LLVM\bin" # powershell windows + export LIBCLANG_PATH=/usr/lib/llvm-19/lib # linux See https://rust-lang.github.io/rust-bindgen/requirements.html (note that autocxx uses an older fork of bindgen) @@ -51,7 +51,7 @@ Use `TENSORRT_SDK_DIR` to point to the TensorRT SDK root directory (the path tha ### Required (GPU execution) -1. **NVIDIA TensorRT-RTX**: Download and install from [NVIDIA Developer](https://developer.nvidia.com/tensorrt) +1. **NVIDIA TensorRT-RTX**: Download and install from [NVIDIA Developer](https://developer.nvidia.com/tensorrt-rtx) - The TensorRT libraries should be in a location where they can be dynamically loaded. (e.g. by setting PATH on Windows or LD_LIBRARY_PATH on Linux) - This crate currently requires TensorRT RTX version 1.3, 1.4, 1.5, 1.6 or 1.7 (see Cargo feature `v_1_3`, `v_1_4`, `v_1_5`, `v_1_6`, `v_1_7`). diff --git a/trtx/src/interfaces.rs b/trtx/src/interfaces.rs index 4fb8db3..b70278f 100644 --- a/trtx/src/interfaces.rs +++ b/trtx/src/interfaces.rs @@ -14,7 +14,7 @@ use trtx_sys::{ }; use trtx_sys::{DataType, Dims64, ErrorCode, SeekPosition, TensorLocation}; -/// Rust trait implemented by [`ProgressMonitor`] for [`trtx_sys::nvinfer1::IProgressMonitor`]; C++ [`nvinfer1::v_1_0::IProgressMonitor`](https://docs.nvidia.com/deeplearning/tensorrt-rtx/latest/_static/c-api/classnvinfer1_1_1v__1__0_1_1_i_progress_monitor.html). +/// Rust trait to implement [`trtx_sys::nvinfer1::IProgressMonitor`]; C++ [`nvinfer1::v_1_0::IProgressMonitor`](https://docs.nvidia.com/deeplearning/tensorrt-rtx/latest/_static/c-api/classnvinfer1_1_1v__1__0_1_1_i_progress_monitor.html). /// /// Use with [`crate::BuilderConfig::set_progress_monitor`]. pub trait MonitorProgress: Send + Sync { diff --git a/trtx/src/lib.rs b/trtx/src/lib.rs index 4a55ec0..07f11b3 100644 --- a/trtx/src/lib.rs +++ b/trtx/src/lib.rs @@ -92,8 +92,10 @@ //! You can steer discovery of libclang using LIBCLANG_PATH environment variable if auto-discovery //! discovers a wrong version of libclang, e.g. //! +//! ```text //! $env:LIBCLANG_PATH="D:\programs\LLVM\bin" # powershell windows //! export LIBCLANG_PATH=/usr/lib/llvm-19/lib # linux +//! ``` //! //! See (note that autocxx uses an older fork of bindgen) //! @@ -103,7 +105,7 @@ //! //! ### Required (GPU execution) //! -//! 1. **NVIDIA TensorRT-RTX**: Download and install from [NVIDIA Developer](https://developer.nvidia.com/tensorrt) +//! 1. **NVIDIA TensorRT-RTX**: Download and install from [NVIDIA Developer](https://developer.nvidia.com/tensorrt-rtx) //! - The TensorRT libraries should be in a location where they can be dynamically loaded. //! (e.g. by setting PATH on Windows or LD_LIBRARY_PATH on Linux) //! - This crate currently requires TensorRT RTX version 1.3, 1.4, 1.5, 1.6 or 1.7 (see Cargo feature `v_1_3`, `v_1_4`, `v_1_5`, `v_1_6`, `v_1_7`).