1. 程式人生 > >打不開CUDA library cupti64_90.dll

打不開CUDA library cupti64_90.dll

Couldn't open CUDA library cupti64_90.dll

 

問題:tensorflow1.6.0在執行mnist訓練的時候出現以下錯誤:

C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\35\tensorflow\stream_executor\http://dso_loader.cc:141Couldn't open CUDA library cupti64_90.dll

2018-08-24 16:37:57.004795: F C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\35\tensorflow/stream_executor/lib/statusor.h:212] Non-OK-status: status_ status: Failed precondition: could not dlopen DSO: cupti64_90.dll; dlerror: cupti64_90.dll not found

 

解決方法

把上圖中的cupti64_90.dll複製到下圖所在資料夾中即可

之前安裝的9.2版本,直接把cupti64_92改成cupti64_92也能用,比較神奇。

轉載自:https://zhuanlan.zhihu.com/p/42886058