-
Notifications
You must be signed in to change notification settings - Fork 337
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
ImportError: /usr/lib/x86_64-linux-gnu/libcuda.so.1: file too short #14
Comments
It seems like your CUDA version or cuDNN version is not correct, can you tell me what version are they? |
I did nothing with CUDA or cuDNN in Docker. Just build the docker image using this project's Dockerfile. Outside the Docker, I installed CUDA8.0 && CUDA9.1 in macOS, and CUDA9.1 is linked.
And my cuDNN's version seems like is 5, but it is not work with CUDA9.1 now.
Should I install the right version of CUDA and cuDNN outside the Docker? Or install the CUDA8.0 and cuDNN6 in Docker manually? Thank you very much for explaining my confusion. |
It's recommended to use docker on Ubuntu with NVIDIA GPU. |
@JS00000 You should use Nvidia-docker2. |
nvidia-docker run -dit -p 8888:8888 -p 6006:6006 tensorflow/newbuild:2.0 /bin/bash |
I use Docker to run this project, but meet some problems.
The progress is below:
docker image build -t ppdemo .
docker run --name my_mongo -p 27017:27017 -d mongo
docker run -t --link my_mongo:mongo -v $PWD:/app/Personae ppdemo spider/stock_spider.py
It is fine now. But some errors happened when python import tensorflow.
I am a noob in using docker. May you tell me what's wrong with the progress?
The text was updated successfully, but these errors were encountered: