Found no NVIDIA driver on your system #533
Comments
What are the steps that you used? |
I installed nvidia-docker on Ubuntu 16.04 (docker version 17.09.0-ce, build afdb6d4) with:
Opened the container with: And tested this script in ipython:
Obtaining this traceback:
Also:
|
Ok, this image doesn't have the label recognized by nvidia-docker 1.0 nor the environment variables recognized by nvidia-docker 2.0. As mentioned in the README, you can enable images that are not based on our
You were pretty close, but you were missing the |
that did it, thanks! |
I've installed the latest version of nvidia-docker (v2) in order to run PyTorch on the GPU from this container - https://hub.docker.com/r/allennlp/allennlp/.
I've followed your instructions and am able to open nvidia-smi inside the container, which displays the driver version 387.12, same as my local machine.
Still, whenever I try to use the GPU on PyTorch inside the container, I get the error 'Found no NVIDIA driver on your system', which is odd given that nvidia-smi seems to show everything fine. It could be an issue with PyTorch, but probably not since it runs just fine on the local machine.
Any suggestions? Thanks
The text was updated successfully, but these errors were encountered: