replicate / cog-stable-diffusion

Diffusers Stable Diffusion as a Cog model

Home Page:https://replicate.com/stability-ai/stable-diffusion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

dginovker opened this issue · comments

commented

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!