-
Notifications
You must be signed in to change notification settings - Fork 89
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
running docker image #36
Comments
Hello, I am not having any problems running the hello world. Can you check that you are using the proper docker version? You should be using nvidia-docker link, not the vanilla one. You can check if your gpu functions are working inside the docker container running $ nvidia-smi |
Hi @tano297 , Thanks for your reply. I finally made everything running now. It turns out that I need to delete /usr/local/cuda/lib64/stubs/libcuda.so.1 file to make tensorrt and tensorflow work. Also I need to recompile tensorflow C++ API by adding CC_OPT_FLAGS="-march=native" flag before compiling to support my CPU version. It is a really nice software, enjoying it now. Thanks. Cheers, |
I'm glad to hear that! There are sometimes some caveats for each architecture, which I try to minimize, but they escape. The |
Hello. I have same error in docker. In my case, Standalone examples don`t work. When I execute ./build/bonnet_standalone/session, I got Illegal instruction (core dumped). I checked nvidia-smi +-----------------------------------------------------------------------------+ python3 helloworld.py under the \bonnet-docker folder I think c++ with tensorflow have some problem. how to rebuild tensorflow C++ API by adding CC_OPT_FLAGS="-march=native" flag ?? |
Hi, First, you need to make sure the problem arise from tensorflow C++ API. To do that, just run the test program of it.
If the above test program is giving you the same error, then it is surely the tensorflow C++ API is the source of the error. Your CPU version is too old to be supported by the default configuration of tensorflow C++ API. To recompile tensorflow API, do followings:
after that, you might also needs to re-install tensorflow again, since the installation of tensorflow C++ API will install a different version of tensorflow, which you have to uninstall and install the correct version of tensorflow again.
Hopefully that's it. Cheers, |
I checked problem arise from tensorflow C++ API. So, I tried to install docker to another computer and it is ok. Thank you for answering. |
I can confirm the issue. No problems following along the instructions on a more recent machine. However, I could not yet resolve all the dependencies for the steps @daobilige-su mentioned above. (Apparently one needs to also install g++-7, which is then in turn incompatible with the cuda libs "/usr/local/cuda-9.0/bin/../targets/x86_64-linux/include/crt/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported!") Machine with the trouble is an Intel i7-2600K in case that helps anybody |
Hi,
First, thanks for the software. Looks very cool.
I am using the docker image provided. But I have 2 questions about it.
After I read the dockerfile in the image, if I understood correctly, all dependencies are built in the image, but the actual bonnet is not installed inside the image. Is that correct? Because I could not find the lines correspond to installation of bonnet code. If so, do I have to install it by myself on top of the image?
I ran the helloworld.py under the \bonnet-docker folder of the image. Then I got Segmentation fault (core dumped) error. When I execute the code inside helloworld.py line by line, I come to know that it is the import tensorrt causing the error. Does it works fine on you machine?
Thanks for any help or suggestion.
Cheers,
Su
The text was updated successfully, but these errors were encountered: