SyntaxNet fails to build with GPU support #248
Comments
andydavis1
added the
triaged
label
Jun 30, 2016
calberti
was assigned
by andydavis1
Jun 30, 2016
aselle
removed the
triaged
label
Jul 28, 2016
flashxing
commented
Aug 1, 2016
|
I have the same problem with you. Have you solved this? |
todtom
commented
Aug 21, 2016
|
@nryant Hi, I have the same problem, could you tell me how to solve this? |
David-Ba
commented
Aug 22, 2016
•
|
Hi, I had the same problem and managed to build SyntaxNet with GPU support with the following steps:
Two tests will fail because SyntaxNet cannot find the Cuda dependencies for some reason (cf. test logs). It seems that the LD_LIBRARY_PATH variable is not set in the test environment. When running the parser_eval and parser_trainer script, however, it should be no problem. Running SyntaxNet on the example in this stage might cause a CUDA_OUT_OF_MEMORY error. A fix for this is available here: #173 Side note: I used Ubuntu 14.04, Cuda 7.5, and cuDNN 4.0.7 |
todtom
commented
Aug 22, 2016
|
@David-Ba I'm not sure why the bazel.rc set crosstool_top to command is
I'm new to tensorflow, I only want to get the parsed tree faster with using gpus . I'm sincerIy sorry if there are some silly questions. I used Ubuntu 16.04, Cuda 7.5, and cuDNN 4.0.7, Geforce GTX TITANX btw. Syntaxnet was running successfully on cpus, but too slow. And some experiments coded with theano worked well on GPUS . |
David-Ba
commented
Aug 22, 2016
|
@todtom Yes, I set |
todtom
commented
Aug 22, 2016
|
|
calberti
closed this
Aug 25, 2016
This was referenced Sep 8, 2016
chrhad
commented
Oct 22, 2016
|
I have followed the 6 steps provided by @David-Ba as follows:
and set Yet, the installation returns error as follows: Reverting the Have I missed anything? My CUDA version is 7.0, with CUDNN version 4.0.7. |
anoidgit
commented
Nov 14, 2016
|
ERROR:no such package 'third_party/gpus/crosstool': BUILD file not found on package path. |
amitmanchanda1995
commented
Dec 3, 2016
•
wq343580510
commented
Dec 9, 2016
|
ERROR:no such package 'third_party/gpus/crosstool': BUILD file not found on package path. |
TheodoreGalanos
commented
Feb 20, 2017
|
Same here. Tried copy/pasting it in the folder from syntaxnet/tensorflow/third_party but the BUILD file wasn't associated with smth like that (at least my beginner level view of that error). Is there any updates? It seems like a small issue to my untrained eyes. |
ducdauge
commented
Feb 22, 2017
|
Hi guys. I had a similar problem but I might have found a solution here. Quoting it:
Afterwards, |
Vimos
commented
Mar 19, 2017
•
|
Using the method offered by @ducdauge , I was able to build. But still met 2 problems. Problem 1: nccl not found
Problem 1 is solved via commenting out nccl refered in tensorflow/serving#327 Problem 2: Tests failure
I am working on these failures right now, it seems that they are memory related issues. |
utkrist
commented
Mar 24, 2017
•
|
Following is the summary of what worked for me. It is based on prev comments and other sources.
I hope this works for you. |
jhowliu
commented
Apr 19, 2017
|
Hi @utkrist, I followed your instructions, but I had some test failed. The log says message below.
Have you ever seen it ? (I used the latest tensorflow, cuda-8.0 and bazel 0.4.5) |
utkrist
commented
Apr 19, 2017
|
@jhowliu I suggest that you downgrade your bazel to 0.4.2 and try the instructions again. If it still does not work then let me know. I will then make a fresh install in new machine and will try to reproduce your error. |
jhowliu
commented
Apr 19, 2017
•
|
Hi @utkrist , But I got the another trouble about ran of the memory when I use the demo example. Thanks again. |
utkrist
commented
Apr 24, 2017
|
Hi @jhowliu, |
jhowliu
commented
Apr 24, 2017
|
@utkrist so i will use the syntaxnet with cpu until solve the problem. |
sgrvinod
referenced
this issue
May 4, 2017
Open
"Segmentation fault (core dumped)" while trying to run Syntaxnet on GPU #1440
|
these instructions do no work on MacOS. |
nryant commentedJun 28, 2016
•
edited
I've been trying for over a day to get SyntaxNet to build with GPU support, and while every attempt passes all tests, invariably the version of TensorFlow that it compiles lacks GPU support:
I've done this with both the current version of SyntaxNet (a4b7bb9) and also the original release (32ab5a5) with the following system setup:
NOTE that I've never had trouble compiling TensorFlow separately. Has anyone experienced similar issues recently?