<h3 dir="auto">What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?</h3>
<p dir="auto">none</p>
<h3 dir="auto">Environment info</h3>
<p dir="auto">Operating System:</p>
<p dir="auto">Ubuntu 16.04 64bit</p>
<p dir="auto">Installed version of CUDA and cuDNN:<br>
(please attach the output of <code class="notranslate">ls -l /path/to/cuda/lib/libcud*</code>):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# ls -l /usr/local/cuda/lib64/libcud*
-rw-r--r-- 1 root root   560184 Sep  5 22:07 /usr/local/cuda/lib64/libcudadevrt.a
lrwxrwxrwx 1 root root       16 Sep  5 22:07 /usr/local/cuda/lib64/libcudart.so -&gt; libcudart.so.8.0
lrwxrwxrwx 1 root root       19 Sep  5 22:07 /usr/local/cuda/lib64/libcudart.so.8.0 -&gt; libcudart.so.8.0.27
-rwxr-xr-x 1 root root   394472 Sep  5 22:07 /usr/local/cuda/lib64/libcudart.so.8.0.27
-rw-r--r-- 1 root root   737516 Sep  5 22:07 /usr/local/cuda/lib64/libcudart_static.a
lrwxrwxrwx 1 root root       13 Sep  5 22:08 /usr/local/cuda/lib64/libcudnn.so -&gt; libcudnn.so.5
lrwxrwxrwx 1 root root       17 Sep  5 22:08 /usr/local/cuda/lib64/libcudnn.so.5 -&gt; libcudnn.so.5.1.5
-rwxr-xr-x 1 root root 79337624 Sep  5 22:08 /usr/local/cuda/lib64/libcudnn.so.5.1.5
-rw-r--r-- 1 root root 69756172 Sep  5 22:08 /usr/local/cuda/lib64/libcudnn_static.a"><pre class="notranslate"><code class="notranslate"># ls -l /usr/local/cuda/lib64/libcud*
-rw-r--r-- 1 root root   560184 Sep  5 22:07 /usr/local/cuda/lib64/libcudadevrt.a
lrwxrwxrwx 1 root root       16 Sep  5 22:07 /usr/local/cuda/lib64/libcudart.so -&gt; libcudart.so.8.0
lrwxrwxrwx 1 root root       19 Sep  5 22:07 /usr/local/cuda/lib64/libcudart.so.8.0 -&gt; libcudart.so.8.0.27
-rwxr-xr-x 1 root root   394472 Sep  5 22:07 /usr/local/cuda/lib64/libcudart.so.8.0.27
-rw-r--r-- 1 root root   737516 Sep  5 22:07 /usr/local/cuda/lib64/libcudart_static.a
lrwxrwxrwx 1 root root       13 Sep  5 22:08 /usr/local/cuda/lib64/libcudnn.so -&gt; libcudnn.so.5
lrwxrwxrwx 1 root root       17 Sep  5 22:08 /usr/local/cuda/lib64/libcudnn.so.5 -&gt; libcudnn.so.5.1.5
-rwxr-xr-x 1 root root 79337624 Sep  5 22:08 /usr/local/cuda/lib64/libcudnn.so.5.1.5
-rw-r--r-- 1 root root 69756172 Sep  5 22:08 /usr/local/cuda/lib64/libcudnn_static.a
</code></pre></div>
<p dir="auto">I've downloaded these from Nvidia and installed them per "official" instructions:</p>
<ul dir="auto">
<li>cuda_8.0.27_linux.run</li>
<li>cuda_8.0.27.1_linux.run</li>
<li>cudnn-8.0-linux-x64-v5.1.tgz</li>
</ul>
<p dir="auto">If installed from source, provide</p>
<ol dir="auto">
<li>The commit hash (<code class="notranslate">git rev-parse HEAD</code>)</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# git rev-parse HEAD
2ab7e6326296987ea0ce975afb3434a16d1aa21a"><pre class="notranslate"><code class="notranslate"># git rev-parse HEAD
2ab7e6326296987ea0ce975afb3434a16d1aa21a
</code></pre></div>
<ol dir="auto">
<li>The output of <code class="notranslate">bazel version</code></li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# bazel version
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Jan 01 00:00:00 1970 (0)
Build timestamp: Thu Jan 01 00:00:00 1970 (0)
Build timestamp as int: 0"><pre class="notranslate"><code class="notranslate"># bazel version
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Jan 01 00:00:00 1970 (0)
Build timestamp: Thu Jan 01 00:00:00 1970 (0)
Build timestamp as int: 0
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# dpkg -l | grep bazel | awk '{print $3}'
0.3.1"><pre class="notranslate"><code class="notranslate"># dpkg -l | grep bazel | awk '{print $3}'
0.3.1
</code></pre></div>
<h3 dir="auto">If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="./configure

# Hit ENTER on every question except:
# Do you wish to build TensorFlow with GPU support? (answer: y)
# Please specify a list of comma-separated Cuda compute capabilities you want to build with. (answer: 6.1)
# Please specify the Cuda SDK version you want to use, e.g. 7.0. [Leave empty to use system default]: (answer 8.0)"><pre class="notranslate"><code class="notranslate">./configure

# Hit ENTER on every question except:
# Do you wish to build TensorFlow with GPU support? (answer: y)
# Please specify a list of comma-separated Cuda compute capabilities you want to build with. (answer: 6.1)
# Please specify the Cuda SDK version you want to use, e.g. 7.0. [Leave empty to use system default]: (answer 8.0)
</code></pre></div>
<h3 dir="auto">What other attempted solutions have you tried?</h3>
<p dir="auto">Tried to google around, hoping it's a known issue. Could not find anything related.</p>
<h3 dir="auto">Logs or other output that would be helpful</h3>
<p dir="auto">(If logs are large, please upload as attachment or provide link).</p>
<p dir="auto">Gist with last messages during compilation:</p>
<p dir="auto"><a href="https://gist.github.com/FlorinAndrei/23ada4fb714776e68c2693502c615305">https://gist.github.com/FlorinAndrei/23ada4fb714776e68c2693502c615305</a></p>
<p dir="auto"><a href="https://developer.nvidia.com/cuda-release-candidate-download" rel="nofollow">https://developer.nvidia.com/cuda-release-candidate-download</a></p>