News for hackers. Stuff that matters.
Re:Install GPU TensorFlow from Sources with Ubuntu 16.04 and... by hughperkins on Thursday September 08, 2016 @08:15PM (#12458690)
This seems to be a frankenstein of cuda 7.5 instructions and cuda 8.0. Similarly ubuntu 14.04 and 16.04. As far as i know, these instructions will fail from gcc 5.4 errors, amongst other issues.
Re:Install GPU TensorFlow from Sources with Ubuntu 16.04 and... by wagonhelm on Thursday September 08, 2016 @08:25PM (#12458749)
Wont GCC fail, includes a patch for GCC, I tested on my system before posting. Running great!
Re:Install GPU TensorFlow from Sources with Ubuntu 16.04 and... by flx42_ on Thursday September 08, 2016 @08:43PM (#12458845)
One of your section is named "Install Nvidia Toolkit 7.5", this is probably what confused parent @hughperkins.
Re:Install GPU TensorFlow from Sources with Ubuntu 16.04 and... by wagonhelm on Thursday September 08, 2016 @08:45PM (#12458861)
Just found that one and fixed it, also someone confirmed working with a GTX 1080. I am so happy to finally ditch 14.04
Re:Install GPU TensorFlow from Sources with Ubuntu 16.04 and... by hughperkins on Friday September 09, 2016 @02:30PM (#12464856)
Ah, I see what I was missing before: there's a patch 1 of cuda 8.0, which adds gcc 5.4 support, and is installed in the cuda section using:

    sudo sh cuda_8.0.27.1_linux.run --silent --accept-eula
Re:Install GPU TensorFlow from Sources with Ubuntu 16.04 and... by hughperkins on Friday September 09, 2016 @03:20PM (#12465292)
Still doesnt work for me though: even on a new box, I get:

    ubuntu@somewhere:~/tensorflow$ python3 -c 'import tensorflow'             
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/ubuntu/tensorflow/tensorflow/__init__.py", line 23, in <module>
        from tensorflow.python import *
      File "/home/ubuntu/tensorflow/tensorflow/python/__init__.py", line 49, in <mod
    ule>
        from tensorflow.python import pywrap_tensorflow
    ImportError: cannot import name 'pywrap_tensorflow'
Re:Install GPU TensorFlow from Sources with Ubuntu 16.04 and... by hughperkins on Friday September 09, 2016 @04:26PM (#12465787)
Ok. Fixed this by two things:

- using branch r0.10, as suggested by https://news.ycombinator.com/item?id=12464835 - making sure to install the new r0.10 wheel, which has a different name than the r0 wheel built by master :-D

Re:Install GPU TensorFlow from Sources with Ubuntu 16.04 and... by wagonhelm on Friday September 09, 2016 @05:58PM (#12466343)
Thanks for sharing your solution!