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
Fail to find the dnn implementation while using recurrent layers #45248
Comments
I finally found the way to solve the problem by reverting my Nvidia driver installed on Windows from 465 to 460, as mentioned in the note in the nvidia documentation : https://docs.nvidia.com/cuda/wsl-user-guide/index.html Since using Windows Subsystem for Linux is becoming more and more common, why not adding a section in the documentation to set up Tensorflow with CUDA inside WSL ? |
We are currently discussing moving towards Windows GPU support only via WSL. |
I continue without solving this issue... Ubuntu 18.04 I have tried to compile with CUDA 10.1 and TF 2.1 but I continue without solving it. It starts to be a little frustrating This is what I obtain after fitting: Epoch 1/50 .2021-01-25 18:59:35.364099: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR All testings of the cuDnn and Cuda works well. |
Did u find any solutions? |
@iamMOY, Can you take a look at this link to know about tested configurations and please update to latest stable version i.e |
As the problem has been fixed after you have downgraded the NVIDIA driver. Can you confirm if we are good to close this issue? Thanks! |
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you. |
Closing as stale. Please reopen if you'd like to work on this further. |
System information
Current behavior
I want to train a model containing Keras LSTM layers, however the following error occurs:
Jupyter output:
UnknownError: Fail to find the dnn implementation. [[{{node CudnnRNN}}]] [[sequential_2/lstm_1/PartitionedCall]] [Op:__inference_train_function_5270]
Console output:
OP_REQUIRES failed at cudnn_rnn_ops.cc:1510 : Unknown: Fail to find the dnn implementation.
Expected behavior
I expect the code to run since I am able to run Conv2D layers wich are properly accelerated by the GPU.
I have already tried multiple things such as using different Tensorflow/Cuda/cuDNN versions.
I also tried to enable the memory growth as described in #36508 but it did not work either.
Standalone code to reproduce the issue
The environment was set up by following the installation instructions (without installing the nvidia driver inside the VM as mentioned in the nvidia documentation ): https://www.tensorflow.org/install/gpu#install_cuda_with_apt
I was able to reproduce this issue by running the RNN tutorial available on the online Tensorflow documentation : https://www.tensorflow.org/guide/keras/rnn
I would appreciate any help to solve this issue.
The text was updated successfully, but these errors were encountered: