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:
[ Parent
| on HN ]
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