| Crates.io | easy-tensorrt-sys |
| lib.rs | easy-tensorrt-sys |
| version | 0.2.1 |
| created_at | 2025-05-22 01:36:30.915127+00 |
| updated_at | 2025-05-26 09:56:22.498077+00 |
| description | Rust binding to NVIDIA TensorRT, forked from tensorrt-rs-sys |
| homepage | |
| repository | https://github.com/BurtonQin/easy-tensorrt |
| max_upload_size | |
| id | 1684643 |
| size | 1,546,525 |
Rust binding to NVIDIA TensorRT.
This is a fork of tensorrt-rs-sys, which seems no longer activately maintained.
init_libnv_infer_plugins to address initialization issues with TensorRT plugins.To use easy-tensorrt-sys, ensure you have the following installed:
cargo).deb packages or tarballs).export CUDA_INCLUDE_PATH=/usr/local/cuda/include
export TENSORRT_INCLUDE_PATH=/usr/local/TensorRT-8.6.1.6/include
export TENSORRT_LIB_PATH=/usr/local/TensorRT-8.6.1.6/lib
Install CUDA and TensorRT from NVIDIA’s website.
Set environment variables:
$env:CUDA_INCLUDE_PATH = "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include"
$env:TENSORRT_INCLUDE_PATH = "C:\Program Files\NVIDIA GPU Computing Toolkit\TensorRT\include"
$env:TENSORRT_LIB_PATH = "C:\Program Files\NVIDIA GPU Computing Toolkit\TensorRT\lib"
Tested on Linux, with TensorRT 8.6.1.6, CUDA 11.8.
Other platforms or versions are not guaranteed to work.
Contributions are welcome! Feel free to open issues or submit pull requests.