QuestionQ133

VerifiedSystem and Server Bring-up

An engineer needs to confirm that their NVIDIA GPU is available inside a Docker container for deep-learning workloads. They have installed the NVIDIA Container Toolkit on a machine with functioning NVIDIA drivers.

Which command shows the proper way to run a container with access to all available GPUs?

Explanation

Docker’s --gpus all option requests that all available NVIDIA GPUs be made accessible to the container. Running nvidia-smi in an NVIDIA CUDA image verifies that the GPU and driver are visible inside that GPU-enabled container.

Learn more

Community Discussion

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