Help for installing tensorflow with NVidia GPU

I installed tensorflow according to https://www.tensorflow.org/install/pip, including the steps <6. [GPU only] Virtual environment configuration.>

The verify <python3 -c “import tensorflow as tf; print(tf.config.list_physical_devices(‘GPU’))”> gives the message

WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1792158189.575774   46270 cpu_feature_guard.cc:227] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
W0000 00:00:1792158190.737026   46270 gpu_device.cc:2365] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...


Grateful for any help, Hans

Hi @Hans_Kraus, Welcome to the Google AI Forum!

If you are using TensorFlow 2.21.0, you may encounter this issue because a missing RPATH entry in the GPU wheels causes libcusolver.so.11 to fail loading during initialization. To resolve this, try upgrading to the nightly build.

!pip install tf-nightly[and-cuda]

If you need to stay on 2.21.0, use a symbolic link or set LD_LIBRARY_PATH to point to the missing library.

Thank you!

Thanks, @Divya_Sree_Kayyuri. I was on a short holyday therefore no answer.
I uninstalled the Debian NVidia drivers via
Removing the Driver — NVIDIA Driver Installation Guide . Afterwards I installed the latest drivers with support of QUADRO P2000 via the NVidia driver installation (NVIDIA-Linux-x86_64-580.178.04.run). Now I get one step further, I got another error:

E0000 00:00:1793111315.860514 6982 cuda_platform.cc:52] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
tf.Tensor(414.56598, shape=(), dtype=float32)

‘lshw -C video’ shows ‘product: GP106GL [Quadro P2000]’

Again a plead for help, Hans