I’m using a gpu “NVDIA GeForce RTX 2080 SUPER”
I am setting up CUDA for Ubuntu on WSL2 by referring to the below page.
“Docker run --gpus all nvcr.io/nvidia/k8s/cuda-sample:nbody nbody -gpu -benchma” rk described in “Simple CUDA Containers” of “Running CUDA Containers” is executed by sudo.
The following error is output after execution
docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused “process_linux.go:449: container init caused “process_linux.go:432: running prestart hook 0 caused \” error running hook: exit status 1, stdout:, stderr: nvidia-container-cli: initialization error: nvml error: driver not loaded\\n\”"": unknown.
ERRO error waiting for container: context canceled
I ran the following command to see if docker is working, but it’s working fine.
“sudo docker run hello-world”
I’m wondering if I’m not properly recognizing the driver I installed from Windows because it’s “driver not loaded”, but I’m not sure how to do it.
I would like someone to help.