Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dose it work with WSL? #2

Open
Promisin opened this issue Oct 19, 2022 · 1 comment
Open

Dose it work with WSL? #2

Promisin opened this issue Oct 19, 2022 · 1 comment

Comments

@Promisin
Copy link

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.

@l1na-forever
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants