QuestionQ170

VerifiedTroubleshoot and Optimize

After upgrading to a Docker version later than 19.03, a data scientist tries to run a container intended for GPU-accelerated applications with this command:

Question Image

This produces the following error (the output may vary slightly by version):

Question Image

What will resolve the issue?

Explanation

Docker 19.03 and later supports the --gpus option to specify GPUs for a container. Supplying --gpus all exposes all available NVIDIA GPUs to the GPU-enabled container, allowing its NVIDIA runtime and driver libraries to be used. NVIDIA documents docker run --gpus all as the GPU-enablement syntax for Docker 19.03 onward.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!