What's difference between --gpus and --runtime=nvidia for the docker container?

To put it simply, use --gpus on x86 and --runtime=nvidia on jetson.

On Jetson, CUDA and some device nodes are shared with the host. You can view this file for more information.
/etc/nvidia-container-runtime/host-files-for-container.d/l4t.csv

In fact, more details need to refer to nvidia-container-toolkit, I don’t know much about it

1 Like