2017-02-17 2 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

쿠다가 올바르게 작동합니까? ** nvidia-smi ** 명령을 사용해보십시오. 출력은 무엇입니까? – rAyyy

+1

CUDA 설치가 끊어졌습니다. –

답변

4

나는 Tensorflow와 관련된 오류라고 생각하지 않습니다. nvidia-smi과 같은 오류가 발생해야합니다.

CUDA 툴킷을 설치 한 후 NVIDIA GPU 드라이버를 업데이트 할 수 있습니까? 툴킷은 드라이버 버전 367.57을 기대하며 최신 버전 인 375.26을 실행하고있는 것으로 보입니다.

빠른 확인을 위해 NVIDIA 드라이버 버전 367.57로 되 돌리십시오. 시스템 설정> 소프트웨어 및 업데이트> 추가 드라이버에서이 작업을 수행 할 수 있습니다.

예상 된 드라이버 버전의 불일치가 확인되면 문제는 365.57 드라이버 버전을 유지하거나 CUDA 툴킷 및 cuDNN을 제거하고 드라이버를 375.26으로 업데이트 한 다음 CUDA 툴킷 및 cuDNN을 다시 설치하십시오.

+0

367.57로 되 돌렸고 내 문제를 해결했습니다! – user3768495

관련 문제