2017-02-17 13 views
0

official pageの指示に従って、「インストールの検証」のステップでTensorflowをインストールしています。Tensorflowのインストール中にCudaカーネルが一致しない

enter image description here

>>> sess = tf.Session() 
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations. 
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. 
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations. 
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations. 
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations. 
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations. 
E tensorflow/stream_executor/cuda/cuda_driver.cc:509] failed call to cuInit: CUDA_ERROR_NO_DEVICE 
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:158] retrieving CUDA diagnostic information for host: Shu 
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:165] hostname: Shu 
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:189] libcuda reported version is: 375.26.0 
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:363] driver version file contents: """NVRM version: NVIDIA UNIX x86_64 Kernel Module 367.57 Mon Oct 3 20:37:01 PDT 2016 
GCC version: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 
""" 
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:193] kernel reported version is: 367.57.0 
E tensorflow/stream_executor/cuda/cuda_diagnostics.cc:303] kernel version 367.57.0 does not match DSO version 375.26.0 -- cannot find working devices in this configuration 

私はセッションを開始しようとすると、これは私が得たものです。私は何が起こっているのかよく分かりません。親切にお手伝いください。ありがとうございました!

+0

cudaは正しく動作していますか?コマンド** nvidia-smi **を試してください。出力は何ですか? – rAyyy

+1

CUDAインストールが壊れています。 –

答えて

4

私はこのエラーがTensorflowに関連しているとは思わない。 nvidia-smiと同じエラーが発生するはずです。

CUDAツールキットをインストールした後でNVIDIA GPUドライバを更新した可能性はありますか?ツールキットにはドライバのバージョンが367.57、最新のバージョンは375.26となっているようです。

クイックチェックを行うには、NVIDIAドライバのバージョン367.57に戻してください。 システム設定>ソフトウェアと更新>追加ドライバから行うことができます。

ドライバのバージョンが367.57であるか、CUDA ToolkitとcuDNNをアンインストールし、ドライバを375.26にアップデートして、CUDA ToolkitとcuDNNを再インストールすることができます。

+0

367.57に戻って、私の問題を解決しました! – user3768495

関連する問題