kopia lustrzana https://github.com/nytimes/rd-blender-docker
Add GPU installation instructions
rodzic
a6410410c9
commit
408665722a
|
@ -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 |
|
||||||
|
|=============================================================================|
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
```
|
Ładowanie…
Reference in New Issue