Installing for GPU use
Currently using GPUs is supported on Linux only. To quickly get started make sure you have the following dependencies installed:
Verifying that the containers can see the GPUs
Once you have the dependencies installed you should be able to run this command:
docker run --gpus all nytimes/blender:2.82-gpu-ubuntu18.04 nvidia-smi
And it should print something that looks like:
+-----------------------------------------------------------------------------+
| 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 |
|=============================================================================|
+-----------------------------------------------------------------------------+