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

AMD GPU on Ubuntu - docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]. #12

Open
dginovker opened this issue Aug 31, 2022 · 0 comments

Comments

@dginovker
Copy link

Couldn't find a solution to this error message online, but didn't want to post into the void of Discord in case someone else has this problem in the future.

Command ran:

$ cog predict r8.im/stability-ai/stable-diffusion@sha256:be04660a5b93ef2aff61e3668dedb4cbeb14941e62a3fd5998364a32d613e35e \
  -i prompt=hi \
  -i width=512 \
  -i height=512 \
  -i prompt_strength=0.8 \
  -i num_outputs=1 \
  -i num_inference_steps=50 \
  -i guidance_scale=0.8

Output:

Starting Docker image r8.im/stability-ai/stable-diffusion@sha256:be04660a5b93ef2aff61e3668dedb4cbeb14941e62a3fd5998364a32d613e35e and running setup()...
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
ⅹ Failed to start container: exit status 125

Docker version: 20.10.17, build 100c701
OS: Xubuntu 22.04 LTS x86_64
CPU: AMD Ryzen 7 5700U with Radeon Graphics
GPU: AMD ATI 05:00.0 Lucienne

Tried restarting docker service, but same result

Any help appreciated - Can try things/provide more logs as needed. I'm not terribly knowledgeable in this area however, so please bare with me!

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

1 participant