Could not load dynamic library ‘libnvinfer.so.6’

This is a warning, not an error. You can still use TensorFlow. The shared libraries libnvinfer and libnvinfer_plugin are optional and required only if you are using nvidia’s TensorRT capabilities.

To suppress this and all other warnings, set the environment variable TF_CPP_MIN_LOG_LEVEL="2".

TensorFlow’s installation instructions list the GPU dependencies (current as of December 13 2022):

The following NVIDIA® software are only required for GPU support.

  • NVIDIA® GPU drivers version 450.80.02 or higher.
  • CUDA® Toolkit 11.2.
  • cuDNN SDK 8.1.0.
  • (Optional) TensorRT to improve latency and throughput for inference.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)