HNHacker News
TopNewBestAskShowJobs

flx42_

68 karma · joined April 18, 2014

submissionscomments
flx42_··on CUDA 11.0
Thanks, I have reported it internally and it is now fixed.
flx42_··on Open-sourcing gVisor, a sandboxed container runtime
nvidia-docker[1] maintainer here.

Curious to know, are you using docker today? If yes, is there anything missing to satisfy your security requirements?

[1] https://github.com/NVIDIA/nvidia-docker

flx42_··on Google TPU Performance Analysis
Just wanted to chime in on TensorRT, it's a well supported product and it's different than gpu-rest-engine. This GitHub repo is simply an example of how to use TensorRT in a specific situation.
flx42_··on Nvidia-Docker – Build and Run Docker Containers Leveraging Nvidia GPUs
We document how this on our wiki: https://github.com/NVIDIA/nvidia-docker/wiki/Internals

> 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.

flx42_··on Nvidia-Docker – Build and Run Docker Containers Leveraging Nvidia GPUs
It allows you to run GPU-accelerated applications (like machine learning, HPC, video/image processing...) inside a Docker container.
flx42_··on Install GPU TensorFlow from Sources with Ubuntu 16.04 and Cuda 8.0 RC
No performance impact as long as your I/O is done in volumes, to avoid going through AUFS.
flx42_··on Install GPU TensorFlow from Sources with Ubuntu 16.04 and Cuda 8.0 RC
If using Docker is an option, the official Dockerfile works well, you just need to modify the FROM line to "nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04". Or "nvidia/cuda:8.0-cudnn5-devel-ubuntu14.04", depending on which version of Ubuntu you want.

https://github.com/tensorflow/tensorflow/blob/master/tensorf...

flx42_··on Install GPU TensorFlow from Sources with Ubuntu 16.04 and Cuda 8.0 RC
One of your section is named "Install Nvidia Toolkit 7.5", this is probably what confused parent @hughperkins.
flx42_··on Steam in Docker
No, this is the CUDA toolkit, it doesn't depend on the driver version. You can compile CUDA code without having a GPU (which is the case during a "docker build").

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.

flx42_··on Steam in Docker
At NVIDIA we maintain this utility: https://github.com/NVIDIA/nvidia-docker

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! :)

flx42_··on An API for hosted deep learning models
You don't need to match the driver version between the host and the container. Actually, you shouldn't include any driver file inside the container.

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.

flx42_··on An API for hosted deep learning models
One container can use multiple GPUs on the same machine without problems.

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.

flx42_··on An API for hosted deep learning models
Well yes, you do need to have the driver installed on the host OS :)

You can run multiple containers on the same GPU with nvidia-docker, it's exactly the same as running multiple processes (without Docker) on the same GPU.

flx42_··on An API for hosted deep learning models
Author of nvidia-docker here. You can definitely have multiple containers on each GPU if you want. If you find a bug or if you think the documentation was not great, please file a bug!
flx42_··on Nvidia-Docker: Build and Run Docker Containers Leveraging Nvidia GPUs
That's exactly what we do, the image is indeed driverless and we mount the host driver files as a volume (provided by our volume plugin) when the container is launched. This way, you can launch a CUDA 7.5 container on any machine with driver version 352+

We provide more details here: https://github.com/NVIDIA/nvidia-docker/wiki/NVIDIA-driver Hope that helps!

flx42_··on Nvidia-Docker: Build and Run Docker Containers Leveraging Nvidia GPUs
Yes, running containerized machine learning workflows is our primary use case of nvidia-docker internally. That's why we provide pre-built images for cuDNN and DIGITS on the DockerHub. Our base cuDNN image is now used by TensorFlow, Caffe, CNTK, Theano, to cite a few.
flx42_··on Nvidia-Docker: Build and Run Docker Containers Leveraging Nvidia GPUs
We are only wrapping the Docker CLI, not forking the full code (that would be insane). The wrapper is provided for convenience since it should be enough for most users. If you know what you're doing, you don't need to rely on the wrapper, we explain how you can do that on our wiki: https://github.com/NVIDIA/nvidia-docker/wiki/Internals

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.

flx42_··on Setting Up a Deep Learning Machine from Scratch
The CLI wrapper is provided for convenience since it should be enough for most users. We recently added advanced documentation on our wiki, we explain how you can avoid relying on the nvidia-docker wrapper: https://github.com/NVIDIA/nvidia-docker/wiki/Internals

This section should also have plenty of information for you if your goal is to integrate GPU support in your own container tool.

flx42_··on Installing TensorFlow with Python 3 on EC2 GPU Instances
Why not use the Tensorflow Docker images?

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...

flx42_··on Show HN: Dockerized GPU Deep Learning Solution (Code and Blog and TensorFlow Demo)
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...
flx42_··on Crashing competing media players on Android
It depends on your SoC, but most of the time your application won't be able to access HW codecs and then you have no choice but using the mediaserver. I think that if you pull OMX functions from libstagefright you are actually using IOMX, it's the regular OMX IL API but using IPC with the mediaserver.