Tensorflow pypi wheel for Linux has outdated TensorRT dependency

On Ubuntu 20.04 Tensorflow 2.10 as installed via pip tries to dlopen libnvinfer from TensorRT, which is different from the Windows pypi package (no TensorRT dependency) and more important it wants the outdated version 7 which is only available up to Ubuntu 18.04 and only compatible with CUDA up to version 11.2. Either the TensorRT dependency should not be there (as it was before and is still on Windows) or it should be against the current version 8.

Please refer to the latest update here

This issue is fixed in tf-nightly and with the upcoming TF 2.12.

Thank you!

1 Like