News for hackers. Stuff that matters.
Re:Show HN: Dockerized GPU Deep Learning Solution (Code and ... by flx42_ on Friday January 08, 2016 @02:04PM (#10867305)
I don't understand why you need to do that, tensorflow is already dockerized for GPUs, using the nvidia-docker images: https://github.com/tensorflow/tensorflow/tree/master/tensorf...
Re:Show HN: Dockerized GPU Deep Learning Solution (Code and ... by sandGorgon on Friday January 08, 2016 @11:13AM (#10865874)
Interesting - does anyone know if there is a dockerized install of Numpy with the right blas,etc libraries .

I am lost at figuring out the best way to configure all the dependencies for decent performance.

I don't have GPU, but I suppose that would make a difference?

Re:Show HN: Dockerized GPU Deep Learning Solution (Code and ... by __mp on Friday January 08, 2016 @08:35AM (#10864690)
Does docker support gpus or how does this work out?
Re:Show HN: Dockerized GPU Deep Learning Solution (Code and ... by viklas on Friday January 08, 2016 @09:02AM (#10864847)
The "--device" flag allows you to map devices through to a Docker container. It runs in 'privileged' mode though, so isn't suitable for a shared host.

Nvidia make it pretty straight-forward now but we had to branch from that approach a bit for the CoreOS deployment.

https://github.com/NVIDIA/nvidia-docker (Nice pictures)

https://docs.docker.com/engine/reference/run/ (Docker documentation, search for 'privileged')

The approach is a bit different depending on your host operating system. You'll also find there are constraints when you introduce a virtualisation layer, like virtualbox or parallels on your desktop - GPUs can be mapped through, but it's painful(ish).

Re:Show HN: Dockerized GPU Deep Learning Solution (Code and ... by m-i-l on Friday January 08, 2016 @09:03AM (#10864852)
There's also a blog entry about accessing GPU from Docker at http://marconijr.com/posts/docker-exposing-gpu/ .
Re:Show HN: Dockerized GPU Deep Learning Solution (Code and ... by __mp on Saturday January 16, 2016 @01:12PM (#10916131)
Great! Thank you!
Re:Show HN: Dockerized GPU Deep Learning Solution (Code and ... by zakk on Friday January 08, 2016 @10:17AM (#10865412)
Three buzzwords in a single submission! (just joking, looks like a good project!)
Re:Show HN: Dockerized GPU Deep Learning Solution (Code and ... by dharma1 on Friday January 08, 2016 @11:05AM (#10865814)
Nice. Does the host OS need to have CUDA installed?
Re:Show HN: Dockerized GPU Deep Learning Solution (Code and ... by viklas on Friday January 08, 2016 @11:15AM (#10865889)
The first stage of the process is to take a vanilla CoreOS host and inject the CUDA drivers (one time process). After that, you can reboot the box and still retain the devices, for mapping into docker containers.