-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Description
Under Docker 19.03.0 Beta 2, support for NVIDIA GPU has been introduced in the form of new CLI API --gpus. docker/cli#1714 talk about this enablement.
Now one can simply pass --gpus option for GPU-accelerated Docker based application.
$ docker run -it --rm --gpus all ubuntu nvidia-smi
Unable to find image 'ubuntu:latest' locally
latest: Pulling from library/ubuntu
f476d66f5408: Pull complete
8882c27f669e: Pull complete
d9af21273955: Pull complete
f5029279ec12: Pull complete
Digest: sha256:d26d529daa4d8567167181d9d569f2a85da3c5ecaf539cace2c6223355d69981
Status: Downloaded newer image for ubuntu:latest
Tue May 7 15:52:15 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.116 Driver Version: 390.116 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Tesla P4 Off | 00000000:00:04.0 Off | 0 |
| N/A 39C P0 22W / 75W | 0MiB / 7611MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
:~$
As of today, Compose doesn't support this. This is a feature request for enabling Compose to support for NVIDIA GPU.
qhaas, dsander, michaelnordmeyer, akiross, tvst and 315 moreBruneXX, LovelyQuantum, xkortex, bignova, tom-doerr and 27 morekenenbek, terasakisatoshi, BruneXX, sebastianfelipe, johnktims and 33 moredvdmc, LovelyQuantum, 501st-alpha1, tom-doerr, miriaford and 23 morettc9082 and aLeX1443