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
Autokeras timeseries_forecaster official Tutorial : Colab script works with CPU, but not with GPU : CudnnRNN "Fail to find the dnn implementation." #1638
Comments
I'm having the exact same problem in colab I used the exact code from the timeseries tutorial with my tabular data:
Output:
|
Same issue for me, I can run on CPU but not in gpu, without any code modifications to the text classification notebook, running all on Colab throws
|
Bug Description
When we call the ".fit()" method on the TimeSeriesForcaster autokeras model , it throws :
Similar to issues like tensorflow/tensorflow#36508
But all solutions tested failed
Bug Reproduction
Simply switching from CPU to GPU provokes the error
Can be reproduced with Keras official tutorial colab link : https://colab.research.google.com/github/keras-team/autokeras/blob/master/docs/ipynb/timeseries_forecaster.ipynb
Code for reproducing the bug, including 4 different solutions tested independently & then together, to no success :
https://colab.research.google.com/drive/1HOpCzGvjU3t3Mg1Ptscshr2rHvWJobHX?usp=sharing
Data used by the code:
The standard data from the AutoKearas tutorial example https://archive.ics.uci.edu/ml/machine-learning-databases/00360/AirQualityUCI.zip
Manually downloaded & uploaded when "tf.keras.utils.get_file()" does not work : AirQualityUCI.csv
Expected Behavior
Runs without the error like when the session uses a CPU
Setup Details
Include the details about the versions of:
Additional context
Tried & included code of these solutions but did not work
Solution 0 : try to install tensorflow GPU adapted verison for autokeras
Solution test # 1 : seen many times on github & stackoverflow
From https://stackoverflow.com/questions/54473254/cudnnlstm-unknownerror-fail-to-find-the-dnn-implementation
Solution test # 1 bis
From https://blog.csdn.net/ljyljyok/article/details/107619881
Solution # 2
From https://soowankim.github.io/2020-05-29/Keras-Cudnn-failed-initialize/
Solution # 3
From https://leimao.github.io/blog/TensorFlow-cuDNN-Failure/ | https://www.titanwolf.org/Network/q/7812eb9a-c361-44c4-ad9f-dd4a437ba164/y
The text was updated successfully, but these errors were encountered: