LoginSignup
31
20

More than 3 years have passed since last update.

エラー対処[Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR]

Posted at

はじめに

tensorflowを使いたいなーと思ってCudnnをインストールしたら、また新しいエラーが出てきました。結構困ったのでメモります。

エラー内容

GPU自体はtensorflowで読み込めているのだが、実行するとなんだかエラーが発生する。エラー内容は以下。

error
...:...: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
...:...: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
Traceback ...
...

解決方法

以下のコマンドを実行すると無事解決した。

$ export TF_FORCE_GPU_ALLOW_GROWTH=true

参考

31
20
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
31
20