-
Notifications
You must be signed in to change notification settings - Fork 34
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
Docker missing requirement to use GPUs #50
Comments
I don't think this issue you posted is related to the chrombpnet docker. Here is an online article related to this - NVIDIA/nvidia-docker#1034 (comment). |
The chrombpnet container will not run and have the above error message about GPUs. Agree, as per the comment in the GitHub link, NVIDIA Container Toolkit is required. |
docker run --gpus all nvidia/cuda:9.0-base nvidia-smi docker run --gpus all -it --rm tensorflow/tensorflow:latest-gpu |
What is the output for the above two commands? |
It is documented that you need to finish nvidia setup on the GPUs. I can maybe provide the link for the setup to hep the users. What more are you talking about? |
This command works only after installing NVIDIA Container Toolkit. |
Indeed, the tutorial states:
NVIDIA drivers and CUDA toolkit are setup. But that alone is not sufficient to make the GPUs accessible to Docker. |
So you have nvidia container toolkit on your system correct? And nvidia-smi works? Does this work for you now ? docker run -it --rm --memory=100g --gpus device=0 kundajelab/chrombpnet:dev |
Yes, the container worked after the NVIDIA Container Toolkit was installed. |
okay good |
Yeah I thought users will be aware of these setup when they are using gpu and dockers. I guess not, we will document this. Thank you! |
Let me know if you run are able to train using this setup. |
If you want to I can jump on a call sometime and make sure you run through all the steps smoothly |
Thanks, added the info about https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html as note in readme under installing with docker. |
Thank you! Wish there were Tags for filers. This is just a Documentation issue, under Requirements for the Docker. |
After executing the provided Docker command, the following error occurs.
Docker requires the NVIDIA Container Toolkit to make GPUs accessible.
Installation instructions are here:
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html
The text was updated successfully, but these errors were encountered: