You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using apptainer pull docker://tensorflow/tensorflow:latest-gpu, but tensorflow 2.18 is skipping loading of GPU, with this message:
W0000 00:00:1736383795.205652 747392 gpu_device.cc:2344] 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...
The tensor 2.17 container worked fine, but it appears that the 2.18 container wants to use libcudnn.9.0 but the container only provides libcudnn.8.0. The system libcudnn is not mapped to the container. The system has both 8 and 9 installed. This looks like a bug in the build of the container.
Note: Just using the system python and installing 2.18 (no containers), works fine as the system has both cudnn 8 and 9 installed.
The text was updated successfully, but these errors were encountered:
Building an docker image from the official image with that lib installs seems to resolve it:
FROM tensorflow/tensorflow:2.18.0-gpu
RUN apt update && apt install -y --no-install-recommends libcudnn9-cuda-12=9.3.0.75-1
Fixing the official image would be preferred, but this has worked on my project. I haven't looked at how it is built enough to know if it's as simple as updating the gpu.packages.txt or if it needs to be updated based on the version it's being built against as I think this is built internally at Google and not sure their setup.
I'm using apptainer pull docker://tensorflow/tensorflow:latest-gpu, but tensorflow 2.18 is skipping loading of GPU, with this message:
W0000 00:00:1736383795.205652 747392 gpu_device.cc:2344] 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...
The tensor 2.17 container worked fine, but it appears that the 2.18 container wants to use libcudnn.9.0 but the container only provides libcudnn.8.0. The system libcudnn is not mapped to the container. The system has both 8 and 9 installed. This looks like a bug in the build of the container.
Note: Just using the system python and installing 2.18 (no containers), works fine as the system has both cudnn 8 and 9 installed.
The text was updated successfully, but these errors were encountered: