TensorRT no longer has NvUtils.h - build from source is failing #68360
Labels
comp:gpu:tensorrt
Issues specific to TensorRT
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
TF 2.16
type:build/install
Build and install issues
Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
tf 2.16.1
Custom code
Yes
OS platform and distribution
Linux Arch
Mobile device
No response
Python version
3.12.3
Bazel version
6.5.0
GCC/compiler version
14.1.1
CUDA/cuDNN version
12.4
GPU model and memory
RTX 4090 - 24gb
Current behavior?
While building from source, when I specify to use Tensorrt 10.0.1, the bazel configuration uses the header files from version 8 (https://github.com/tensorflow/tensorflow/blob/master/third_party/tensorrt/tensorrt_configure.bzl#L50-L65), which were changed in major 9 of Tensorrt (https://github.com/NVIDIA/TensorRT/tree/v9.1.0/include).
There is no longer
NvUtils.h
and a new headerNvOnnxConfig.h
(since 9.x.x and still like this on TensorRT 10).I believe that either a new configuration must be created to support TensorRT 9.x.x and 10.x.x, or you should specify that Tensorflow only accepts TensortRT <= 8.6.
Standalone code to reproduce the issue
Relevant log output
No response
The text was updated successfully, but these errors were encountered: