-
Notifications
You must be signed in to change notification settings - Fork 749
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
The recently updated system or environment doesn't have the necessary CUDA library or drivers installed for cuDNN #5080
Comments
I have also attached some elements of the code, as per below: Imports and setting thge environment!pip install -Uqq fastai import numpy as np The rest of the code ....................................
The rest of the code ......................................................................... |
@mariuslesniak Thanks for filing the issue and thanks for using Colab. Thanks for some of the code. You mentioned:
Could you upload this file so that we can help troubleshoot? Also, are you able to provide a minimal reproducible example that we can run and debug? Thanks! |
Thanks for your message. In response, I have attached three files as follows:
Hope this will help. Kind regards |
@mariuslesniak Thanks for the example. I was able to successfully run the code in parametric_colab_forecasting_loop.txt with your provided .csv files. I did make two modifications: 1) I lowered the cycle count limit to finish in a timely fashion, and 2) updated the code to fix the warning: # Initialising the RNN
model = Sequential()
model.add(keras.Input(shape=(window_length, number_of_features))) I invoked your sample code on a GPU T4 runtime and did not see any errors (the one cited in the OP ( It may be that your larger cycle count causes later errors, but that would seem unrelated to CUDA not configured correctly. Are you able to share a notebook with output saved that includes the error? |
Hi, I was able to do the suggested correction regarding "input_shape" and rerun the code. Unfortunately, I still have the same problem when running it in the available (latest) Jupyter Notebook. I have attached the edited code (parametric_colab_forecasting_loop.txt) as well as the resulting error (output.txt). parametric_colab_forecasting_loop.txt Kind regards, |
Describe the current behavior
The error is:
"InvalidArgumentError: Graph execution error:
Detected at node sequential_1/bidirectional_1/forward_lstm_1/CudnnRNNV3 defined at (most recent call last)"
The rest of the error code is contained in the attached file.
Describe the expected behavior
The expected behaviour would be to use GPU with no such error. "Dnn is not supported" indicates that the LSTM layer in the model is attempting to use the CuDNN implementation, which is optimized for NVIDIA GPUs. However, either there is no compatible GPU available in your environment or CuDNN is not properly configured. The fact that. the code worked well till yesterday suggests an unaccounted change in the system or the environment.
What web browser you are using
I am using Chrome
Additional context
Link to a minimal, public, self-contained notebook that reproduces this issue.
The text was updated successfully, but these errors were encountered: