SO I am attempting to do GPU passthru from my windows 11 laptop. Currently, invoking a –gpus all or whatever, doesn’t work. You get an error about no nvidia devices. This is weird, as I’m trying to use an AMD device.
docker run --gpus all --mount type=bind,src=/usr/lib/wsl,dst=/usr/lib/wsl -e LD_LIBRARY_PATH=/usr/lib/wsl/lib -it --rm python:3.7 bash
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: WSL environment detected but no adapters were found: unknown.
So I go to look at the docker CLI repo
So apparently, for the last several years, the docker cli simply hasn’t easily supported amd gpus.
I frankly am tired of the NVIDIA supremacy that just so happens to be so prevalent.