68 karma · joined Apr 18, 2014 (12y ago) · 22 submissions
comment 9y ago · link · parent
> The added benefit of this is that you can use different versions of the drivers side-by-side (in my understanding).
No, you can only have one driver version, the one that correspond to the loaded kernel modules. Installing the driver inside a Docker image makes it non-portable.
comment 10y ago · link · parent
https://github.com/tensorflow/tensorflow/blob/master/tensorf...
comment 10y ago · link · parent
Edit: in other words, your Docker image doesn't depend on a specific driver version and can be ran on any machine with sufficient drivers. Driver files are mounted as a volume when starting the container.
comment 10y ago · link · parent
It automatically discovers the devices and the right driver files on the host.
The main goal is compute (CUDA), but we also demonstrated how to run TF2 on Steam OS during our DockerCon 16 OpenForum presentation.
Nice job! :)
comment 10y ago · link · parent
All the user-level driver-files required for execution are mounted when the container is started using a volume. This way you can deploy the same container on any machine with NVIDIA drivers installed.
We have more details on our wiki: https://github.com/NVIDIA/nvidia-docker/wiki/Internals
Concerning your last question: I don't have any information on this topic, but anyway it would not really impact nvidia-docker.
comment 10y ago · link · parent
For distributed training (which Caffe doesn't actually support, not the official version), you would have to run one container per instance, but this is more a configuration problem at the framework level, than a Docker or nvidia-docker problem.
comment 10y ago · link · parent
We provide more details here: https://github.com/NVIDIA/nvidia-docker/wiki/NVIDIA-driver Hope that helps!
comment 10y ago · link · parent
Yes, we have been discussing with a few people at Docker, I hope attending DockerCon and discussing with the team will help us move forward.
comment 10y ago · link · parent
This section should also have plenty of information for you if your goal is to integrate GPU support in your own container tool.
comment 10y ago · link · parent
Or if you think they are too old, you can rebuild them manually, it will still be easier than installing all the dependencies manually.
There is also an easier way of downloading cuDNN v2 (there is no such thing as cuDNN v6.5 by the way): https://github.com/NVIDIA/nvidia-docker/blob/master/ubuntu-1...
comment 10y ago · link · parent
21.
Nvidia-docker: build and run Docker containers using GPUs(github.com ↗)
9 points · by flx42_ · 11y ago · discuss
comment 12y ago · link · parent