Uminosachi / sd-webui-inpaint-anything

Inpaint Anything extension performs stable diffusion inpainting on a browser UI using masks from Segment Anything.
Apache License 2.0
1.03k stars 93 forks source link

AMD cpu #113

Open Leobai opened 8 months ago

Leobai commented 8 months ago

it cannot finish the process and mentioned below:

return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)

RuntimeError

2023-11-04 12:58:46,661 - Inpaint Anything - ERROR -

Uminosachi commented 8 months ago

The device appears to be incompatible. In the Settings tab of the web UI, there is an option called "Run Segment Anything on CPU" under the Inpaint Anything section. If you check this, Segment Anything will run slower but it will be executed on the CPU.

Leobai commented 8 months ago

thank you so much. problem fixed