Use an NVIDIA Container Image to verify container access to NVIDIA GPUs

Verify that your container can communicate with the GPU and the type of  NVidia GPUs your docker containers can access using one of NVIDIA's container images.

docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi

 Sample Output

The containers on this server have access to a single Titan RTX card


Source

Revision 

Created 2024/07 




Comments

Popular posts from this blog

Installing the RNDIS driver on Windows 11 to use USB Raspberry Pi as network attached

Understanding your WSL2 RAM and swap - Changing the default 50%-25%

Get AI code assist VSCode with local LLMs using LM Studio and the Continue.dev extension - Windows