-
Notifications
You must be signed in to change notification settings - Fork 74.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL2 - TensorFlow Install Issue Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered #63109
Comments
Hi @vatsalraicha , Ensure Correct Installation of CUDA, cuDNN, and TensorRT:
Reinstall TensorFlow:
Test Your Setup:
Thank you! |
Same error. WSL version: 2.0.14.0 NVIDIA GeForce RTX 4050 python 3.10.12 Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
|
@Venkat6871 On WSL2, I dont have CUDA 12.3 director in /usr/local. |
Same problem |
Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered google colab error ,how to resolve it |
same |
I have the same problem. I am using WSL2. |
After several days struggle, I am able to get rid of this errors. |
@garryyan2 Did you achieve this on WSL2 or on Native Linux? |
@vatsalraicha I am using WSL2. $nvcc --version $nvidia-smi cudnn version: 8.9.7.29 I am not sure about the TensorRT version. |
how did you solve it? I have the same problem in Colab |
@gurzelai, for me, I just tried difference version combinations of the tools/packages. I am not not familiar with Colab. You probably can't have the software versions of your choice. |
for me work conda sudo mkdir -p /usr/lib/xorg/modules nvidia driver 535.183.06 fo cuda 12.2 CUDA Toolkit 12.3 runfile local cudnnv8.9.7.29 tar file (instruction) tensorflow 2.16.1 for gpu for python 3.10 whl (https://storage.googleapis.com/tensorflow/versions/2.16.1/tensorflow-2.16.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl) echo '/usr/local/cuda-12.3/lib64' | sudo tee -a /etc/ld.so.conf.d/cuda.conf .bashrc sudo reboot |
My algorithm uses Pytorch and gets the same error. Is there anybody to solve that? |
I have the same error messages with Docker Hub's Tensorflow image. Specifically, I issued the following command to start a Jupyter notebook with the latest Tensorflow: docker run -it --rm -p 8888:8888 --gpus all tensorflow/tensorflow:latest-gpu-jupyter In the Jupyter notebook, I just did "import tensorflow as tf". Then I see these error messages. So apparently, it is not my local configuration issue as a Docker image should be self contained. |
Same issue found for me. |
Could you please do me a favour and convert me a model ? i need it urgently if possible please. |
Could you please do me a favour and convert me a model ? i need it urgently if possible please. |
1 similar comment
Could you please do me a favour and convert me a model ? i need it urgently if possible please. |
First thanks for your reply. |
No, it's not coding at all, only python script run it to convert the model and that's all. |
One line of python code and that's set |
@BenIlias You may want to try google's colab to run it. |
I tried but same error 😔 and today is the deadline 😢. |
If you could do me the favour, i would never forget it :) |
No one - Whether from NVIDIA or TensorRT team really cares about this issue. Their documentation is terrible. Leaving Non-enterprise developers in lurch. |
Facing this error message when trying to use tensorflow on WSL2 Ubuntu - Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered.
TF-TRT Warning: Could not find TensorRT
could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.
Environment
TensorRT Version: 8.6.1.6
GPU Type: 4080 Laptop GPU
Nvidia Driver Version: NVIDIA-SMI 546.17 Driver Version: 546.17
CUDA Version: 12.3, CUDA Toolkit Version - 11.8
CUDNN Version: v8.6
Operating System + Version: Windows 11
Python Version (if applicable): Python 3.10.13
TensorFlow Version (if applicable): 2.15.0
PyTorch Version (if applicable): N/A
Baremetal or Container (if container which image + tag): N/A
pyenv Version - 2.3.35-11-g9908daf8
WSL version: 2.0.14.0
Kernel version: 5.15.133.1-1
tensorFlowErrors.txt
Steps to reproduce -
Followed the exact steps as mentioned in https://www.tensorflow.org/install/pip?hl=pt
The text was updated successfully, but these errors were encountered: