stable-diffusion-rocm-docker
stable-diffusion-rocm-docker copied to clipboard
Dose it work with WSL?
I try this docker with WSL2 on win11 22H2. And after executing drun --name stable-diffusion l1naforever/stable-diffusion-rocm:latest
this line, I get error message down below.
docker: Error response from daemon: error gathering device information while adding custom device "/dev/kfd": no such file or directory.
Dose it mean that this docker dosen't take effect on the virtual machines? Or there are just something wrong with WSL.
Hey, I don't think it would. NVIDIA CUDA works on WSL2 by offering a WSL-specific CUDA driver. There is an AMD driver for video acceleration in WSL, but I'm not certain it would expose the same video device to the guest (/dev/kfd
). Do you have the driver installed? I'd suggest trying the Radeon WSL driver first, to see if it exposes the KFD device at all.