-
Notifications
You must be signed in to change notification settings - Fork 12
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
Unable to register cuDNN factory #63
Comments
this looks like a file path issue:
what is the command line you are running? the other outputs you've included above are tensorflow reporting on the installation you've done. |
Thanks Andrew for your prompt feedback. I am running ReLERNN using GOOGLE COLAB NOTEBOOK. From the readme it says, " ReLERNN requires the use of a CUDA-Enabled NVIDIA GPU. The current version of ReLERNN has been successfully tested with tensorflow/2.2.0, cudatoolkit/10.1.243, and cudnn/7.6.5." ReLERNN was tested with CUDA 10.1, cuDNN 7.6.5, and TensorFlow 2.2.0, but Colab only supports newer versions (CUDA 12+). |
When I run the example script, this is the output. 2025-02-09 09:37:20.774190: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered Accessibility mask found: calculating the proportion of the genome that is masked... Simulating with window size = 211000 bp. SIMULATIONS FINISHED! SANITY CHECKnumSegSites Min Mean Max ReLERNN_SIMULATE.py FINISHED! 2025-02-09 09:37:32.334610: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered END |
I haven't tried to run this in a Google colab instance before. Let me try myself and get back to you. I'm guessing this has to do with package version issues. |
after playing with this a bit, i don't see a simple way to use our software in a google colab environment-- we need finer grained control of which python packages / python version we use than they allow |
Alright Andrew, thank you for the your response. |
I am running ReLERNN from Google Colab however I am encountering this challenge. Could you kindly help me understand how I can fix it. Some of the issues are as below
"""2025-02-07 10:57:23.227224: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2025-02-07 10:57:23.227271: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2025-02-07 10:57:23.228817: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2025-02-07 10:57:23.237717: I tensorflow/core/platform/cpu_feature_guard.cc:182] 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.""
Below is the first fatal error
FileNotFoundError: [Errno 2] No such file or directory: '/content/ReLERNN/examples/example_output/train/3615_haps.npy'
2025-02-06 18:59:23.112739: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:477] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
The text was updated successfully, but these errors were encountered: