{"action":"closed","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4895","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4895/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4895/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4895/events","html_url":"https://github.com/tensorflow/tensorflow/issues/4895","id":182291777,"number":4895,"title":"Tensorflow fails to find GPU device (CUDA 8.0)","user":{"login":"maxim5","id":2580604,"avatar_url":"https://avatars.githubusercontent.com/u/2580604?v=3","gravatar_id":"","url":"https://api.github.com/users/maxim5","html_url":"https://github.com/maxim5","followers_url":"https://api.github.com/users/maxim5/followers","following_url":"https://api.github.com/users/maxim5/following{/other_user}","gists_url":"https://api.github.com/users/maxim5/gists{/gist_id}","starred_url":"https://api.github.com/users/maxim5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxim5/subscriptions","organizations_url":"https://api.github.com/users/maxim5/orgs","repos_url":"https://api.github.com/users/maxim5/repos","events_url":"https://api.github.com/users/maxim5/events{/privacy}","received_events_url":"https://api.github.com/users/maxim5/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-11T15:13:08Z","updated_at":"2016-10-13T01:12:22Z","closed_at":"2016-10-13T01:12:22Z","body":"- Operating System: Ubuntu 16.04\r\n- Installed version of CUDA and cuDNN: CUDA 8.0.27, cuDNN 5.1.5\r\n```\r\n$ ls ~/bin/cuda-8.0/lib64/libcud*\r\n/home/maxim/bin/cuda-8.0/lib64/libcudadevrt.a    /home/maxim/bin/cuda-8.0/lib64/libcudart.so.8.0.27  /home/maxim/bin/cuda-8.0/lib64/libcudnn.so.5\r\n/home/maxim/bin/cuda-8.0/lib64/libcudart.so      /home/maxim/bin/cuda-8.0/lib64/libcudart_static.a   /home/maxim/bin/cuda-8.0/lib64/libcudnn.so.5.1.5\r\n/home/maxim/bin/cuda-8.0/lib64/libcudart.so.8.0  /home/maxim/bin/cuda-8.0/lib64/libcudnn.so          /home/maxim/bin/cuda-8.0/lib64/libcudnn_static.a\r\n```\r\n`nvidia-smi` shows the GPU.\r\n- Environment variables:\r\n```\r\ndeclare -x CUDA_HOME=\"/home/maxim/bin/cuda-8.0\"\r\ndeclare -x PATH=\"/home/maxim/bin/anaconda2/bin:/home/maxim/bin/cuda-8.0/bin:/home/maxim/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin\"\r\ndeclare -x LD_LIBRARY_PATH=\"/home/maxim/bin/cuda-8.0/lib64:\"\r\n``` \r\n- Tensorflow version: 0.10.0rc0 (installed by Anaconda)\r\n- Note that on the same machine Theano _works perfectly_:\r\n```\r\n$ python theano_check1.py \r\nUsing gpu device 0: GeForce GTX 960M (CNMeM is disabled, cuDNN 5105)\r\n```\r\n\r\nBut Tensorflow does not:\r\n```\r\nCould not satisfy explicit device specification '/device:GPU:0' because no devices matching that specification are registered in this process; available devices: /job:localhost/replica:0/task:0/cpu:0\r\n```"}}
{"actor":{"display_login":"jart"}}