-
Notifications
You must be signed in to change notification settings - Fork 45.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SyntaxNet fails to build with GPU support #248
Comments
I have the same problem with you. Have you solved this? |
@nryant Hi, I have the same problem, could you tell me how to solve this? |
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 |
@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 . |
@todtom Yes, I set |
|
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. |
ERROR:no such package 'third_party/gpus/crosstool': BUILD file not found on package path. |
ERROR:no such package 'third_party/gpus/crosstool': BUILD file not found on package path. |
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. |
Hi guys. I had a similar problem but I might have found a solution here. Quoting it:
Afterwards, |
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. |
Following is the summary of what worked for me. It is based on prev comments and other sources.
I hope this works for you. |
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) |
@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. |
Hi @utkrist , But I got the another trouble about ran of the memory when I use the demo example. Thanks again. |
Hi @jhowliu, |
@utkrist so i will use the syntaxnet with cpu until solve the problem. |
these instructions do no work on MacOS. |
I've spent a day for reading syntaxnet gpu issues to build docker container. |
I have some tests fails with an OUT_OF_MEMORY error. |
@zerodarkzone try |
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?
The text was updated successfully, but these errors were encountered: