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
TypeError: Fail to find the dnn implementation. #10634
Comments
I have the same problem under Linux Ubuntu 16.04 Maybe this helps: |
Same problem on Ubuntu 18.04.1 LTS running Cuda V9.0.176 and cuDNN 7.2.1. Ditto on RHEL 7.4 with Cuda V9.0.176 and cuDNN 9.0-v7 |
for cuda 7.1.1 and cudnn 9.0 : There has to be some other better solution. This way is too tiresome and lengthy!! |
I'm also seeing this error on Ubuntu 18.04, RTX 2070, cuda 10, keras, and tf-nightly-gpu. I cross posted on NVidia but haven't seen much help there: https://devtalk.nvidia.com/default/topic/1046589/cuda-setup-and-installation/issues-with-tensorflow-on-cuda10-and-rtx2080/ |
I had the same issue , when I updated tensorflow to 1.12. Error got resolved after updating my CuDNN verstion to 7.5 from 7. I followed the steps mentioned in the below url for updating the CuDNN version (Note: The steps mentioned in the link are for installing CUDNN , but the same is applicable for update as well) https://jhui.github.io/2017/09/07/AWS-P2-CUDA-CuDNN-TensorFlow/ |
I ended up fixing this issue with the |
Platform: Ubuntu 18.04 I got the same error. I have built the graph, it occurred when initializing variables. When I use tf-nightly-gpu of version 1.13 I didn't have this error. |
I got this error while running cudnn LSTM. They worked for a while then they quit working. I did "conda update tensorflow-gpu" and that fixed it. The problem must be in tensorflow somewhere? |
I got this error last night while working on the tensorflow tutorial "https://www.tensorflow.org/alpha/tutorials/load_data/text". I was using |
unsubscribe please
…________________________________
zyu511008@hotmail.com
From: Krishna Bhogaonker<mailto:notifications@github.com>
Date: 2019-04-27 02:33
To: keras-team/keras<mailto:keras@noreply.github.com>
CC: Subscribed<mailto:subscribed@noreply.github.com>
Subject: Re: [keras-team/keras] TypeError: Fail to find the dnn implementation. (#10634)
I got this error last night while working on the tensorflow tutorial "https://www.tensorflow.org/alpha/tutorials/load_data/text". I was using tensorflow-gpu 2.0alpha on an Ubuntu 18.04x64 machine and python version 3.6. I updated my Cudnn from 7.4 to 7.5.1 and tried up upgrade tensorflow too--but that did not change anything. I was able to compile the Cudnn samples Mnist network--which is the usual test for a successful install. Just wanted to let you know about the continuing issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#10634 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AKXHW4SYRLENBQXLRNXPYU3PSNDGDANCNFSM4FJDZWHA>.
|
I also use 'conda update tensorflow-gpu' and fixed it.. thanks! |
Reference: tensorflow/tensorflow#20067 (comment) Have you make sure your GPU is available? If you have any other session running on the same GPU on Windows, you would want to do halt and close. try the following snippet to check if you have a GPU available. This will occur when there is no available device:
|
I fixed this issue by upgrading cuddn from 7.0 to 7.5. I am using cuda10.1 and tf-gpu1.14 on Ubuntu 16.04. |
Thanks! I solved this problem by your way |
In tensorflow 2.0 i got the same error while running RNN LSTM model.The reason was due to lower version of my cuDNN.In the tensorflow gpu requirements page it was recommended to have |
1 similar comment
In tensorflow 2.0 i got the same error while running RNN LSTM model.The reason was due to lower version of my cuDNN.In the tensorflow gpu requirements page it was recommended to have |
maybe u can solve it by "tf.config.experimental.set_memory_growth()"!!! |
Try this. It works
|
I got the same error after trying to train again a model... and I solve it with the same solution of @Shekhrozx |
I solve this problem using this way: |
The recommended format directly from the TF docs in 2.0+ is:
|
what to do? RuntimeError: Physical devices cannot be modified after being initialized |
It seems that you are initializing your GPU two or more times. Please check your code and initialize your GPU only once. |
I got a similar issue with |
Platform: Windows10
Tensorflow Version: 1.7.0(GPU)
Cuda compilation tools, release 9.0, V9.0.176
CUDNN: 7.1.2
Graphic processor: Nvidia Geforce GTX 1050
My code:
Error:
Hopefully for help!
The text was updated successfully, but these errors were encountered: