From 408665722a7e253e164ccc1d665a65b3e5ce5199 Mon Sep 17 00:00:00 2001 From: Or Fleisher Date: Fri, 1 May 2020 10:48:59 -0400 Subject: [PATCH] Add GPU installation instructions --- Installing-with-GPU-support.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Installing-with-GPU-support.md diff --git a/Installing-with-GPU-support.md b/Installing-with-GPU-support.md new file mode 100644 index 0000000..a58c9f5 --- /dev/null +++ b/Installing-with-GPU-support.md @@ -0,0 +1,29 @@ +### Installing for GPU use +Currently using GPUs is supported on Linux only. To quickly get started make sure you have the following dependencies installed: +- [Docker 19.03 (or newer)](https://docs.docker.com/engine/install/) +- [NVIDIA Container Toolkit](https://github.com/NVIDIA/nvidia-docker) + +### Verifying that the containers can see the GPUs +Once you have the dependencies installed you should be able to run this command: +```sh +docker run --gpus all nytimes/blender:2.82-gpu-ubuntu18.04 nvidia-smi +``` + +And it should print something that looks like: +```sh ++-----------------------------------------------------------------------------+ +| NVIDIA-SMI 430.09 Driver Version: 430.09 CUDA Version: 10.1 | +|-------------------------------+----------------------+----------------------+ +| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | +| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | +|===============================+======================+======================| +| 0 GeForce GTX 1650 Off | 00000000:01:00.0 Off | N/A | +| N/A 47C P8 6W / N/A | 764MiB / 3907MiB | 23% Default | ++-------------------------------+----------------------+----------------------+ + ++-----------------------------------------------------------------------------+ +| Processes: GPU Memory | +| GPU PID Type Process name Usage | +|=============================================================================| ++-----------------------------------------------------------------------------+ +``` \ No newline at end of file