I am looking for the ability to run builds in docker containers with access to GPU. When starting the runner with --gpus all flag, the docker image created by the runner does not appear to have access to a GPU. Does anyone know how to enable this? New to Go, so digging through the source code is taking me a while. Thanks!
If you’re using the NVIDIA Container Runtime, then you should be able to give GPU access to a container by setting the NVIDIA_VISIBLE_DEVICES environment variable.