Live data from Hacker News

Install GPU TensorFlow from Sources with Ubuntu 16.04 and Cuda 8.0 RC

alliseesolutions.wordpress.com

11–20 of 34 posts

Re: Install GPU TensorFlow from Sources with Ubuntu 16.04 and Cuda 8.0 RC

#11

Earlier quoted context omitted.

Just follow the instructions friend.

Sorry missed that other 7.5 reference, replaced with 8. Sorry copy and pasted my 7.5 instructions as they were mainly the same.

and yes sorry thought hitting yes for gpu support was obvious and did not see the need to type that one out.

there is also a link for the list of cuda capabilities in the post.

Re: Install GPU TensorFlow from Sources with Ubuntu 16.04 and Cuda 8.0 RC

#12

I'm not sure what Tensorflow source you're compiling, but I've been trying many times recently and it fails in many, many different ways. It's a neverending maze of fail, basically. I've never seen the end of it yet. It failed today, too, so the code base is not getting better. I'm using Ubuntu 16.04, CUDA 8.0RC + the gcc patch, cuDNN 5.1, nvidia-driver-[367|370], tensorflow-master, python-2.7. My process is basicall…

Just follow the instructions friend.

I may go ahead and do a literal clone of your instructions. However, looking at your process, it's what I do, step by step, AFAICT without actually going ahead and doing it.

It's also the fact that it fails in so many different ways. Bazel bombs out after ./configure; the master branch today does not even begin to build at all, the old Bazel workaround is not working anymore. Then there's the gcc issues.

You may have gotten lucky once, who knows why.

Again, do you still have the pip package you claim you've built using this procedure? If so, can you upload it somewhere? I would very much like to test it. Thank you.

Re: Install GPU TensorFlow from Sources with Ubuntu 16.04 and Cuda 8.0 RC

#13
post #6

Thank you so much. I tried 3 times in the last week to get it working with Cuda 8.0

Have you actually succeeded yet in building a pip package linked with CUDA 8? I am doing basically the same process, and it only keeps failing.

https://github.com/tensorflow/tensorflow/issues/2559#issueco...

Re: Install GPU TensorFlow from Sources with Ubuntu 16.04 and Cuda 8.0 RC

#14

Earlier quoted context omitted.

Sorry missed that other 7.5 reference, replaced with 8. Sorry copy and pasted my 7.5 instructions as they were mainly the same.

and yes sorry thought hitting yes for gpu support was obvious and did not see the need to type that one out. there is also a link for the list of cuda capabilities in the post.

"No, that would not work with Pascal GPUs."

I cannot test this but possibly just use whatever version the drivers work and make sure the run file does not install different drivers.

Re: Install GPU TensorFlow from Sources with Ubuntu 16.04 and Cuda 8.0 RC

#15

Earlier quoted context omitted.

Just follow the instructions friend.

I may go ahead and do a literal clone of your instructions. However, looking at your process, it's what I do, step by step, AFAICT without actually going ahead and doing it. It's also the fact that it fails in so many different ways. Bazel bombs out after ./configure; the master branch today does not even begin to build at all, the old Bazel workaround is not working anymore. Then there's the gcc issues. You may have…

Pip is building right now, will give dropbox soon.

Re: Install GPU TensorFlow from Sources with Ubuntu 16.04 and Cuda 8.0 RC

#16

Earlier quoted context omitted.

Just follow the instructions friend.

I may go ahead and do a literal clone of your instructions. However, looking at your process, it's what I do, step by step, AFAICT without actually going ahead and doing it. It's also the fact that it fails in so many different ways. Bazel bombs out after ./configure; the master branch today does not even begin to build at all, the old Bazel workaround is not working anymore. Then there's the gcc issues. You may have…

https://www.dropbox.com/s/0cdoy7e8xh54wrx/tensorflow-0.10.0r...

Here is the pip3 wheel but I am skeptical given it was built for my system.

Re: Install GPU TensorFlow from Sources with Ubuntu 16.04 and Cuda 8.0 RC

#17
If using Docker is an option, the official Dockerfile works well, you just need to modify the FROM line to "nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04". Or "nvidia/cuda:8.0-cudnn5-devel-ubuntu14.04", depending on which version of Ubuntu you want.

https://github.com/tensorflow/tensorflow/blob/master/tensorf...

Re: Install GPU TensorFlow from Sources with Ubuntu 16.04 and Cuda 8.0 RC

#19

Why does it just take following directions to make it to the front page of HN these days?

Because GPU-accelerated learning is exciting, and most of the directions you find for setting it up don't work. (Judging from other replies, this post may be no different.)

This probably has something to do with the fact that GPUs are flaky and idiosyncratic, and all the software that uses them depends on black-box libraries handed down by Nvidia, who is completely shit at maintaining software.

Re: Install GPU TensorFlow from Sources with Ubuntu 16.04 and Cuda 8.0 RC

#20
post #19

Why does it just take following directions to make it to the front page of HN these days?

Because GPU-accelerated learning is exciting, and most of the directions you find for setting it up don't work. (Judging from other replies, this post may be no different.) This probably has something to do with the fact that GPUs are flaky and idiosyncratic, and all the software that uses them depends on black-box libraries handed down by Nvidia, who is completely shit at maintaining software.

https://www.dropbox.com/s/tlcb7o7k10xaz8a/Screenshot%20from%...

Screenshot for the skeptics.

Post reply on HN