Inpaint-Anything icon indicating copy to clipboard operation
Inpaint-Anything copied to clipboard

Aborted (core dumped)

Open haniniksoleimani opened this issue 1 year ago • 4 comments

Although remove_anything.py works fine for me, when I try other features such as fill_anything.py or replace_anything.py I`m stuck with the error below:

malloc(): invalid next->prev_inuse (unsorted) Aborted (core dumped)

apparently it is generally displayed when running C++ codes.

haniniksoleimani avatar Apr 26 '23 07:04 haniniksoleimani

It works well on my side. Pls make sure you have enough momery/CPU cores.

geekyutao avatar Apr 26 '23 07:04 geekyutao

I did some debugging and finally managed to narrow it down and the code stops when this line of code is executed:

"from diffusers import StableDiffusionInpaintPipeline"

so I tried the following 0.11, 0.12, 0.13, 0.14, 0.15 diffusers versions, yet none did work. PS: thanks for your prompt response. :)

haniniksoleimani avatar Apr 26 '23 10:04 haniniksoleimani

pip install diffusers==0.12.1 worked for me.

haniniksoleimani avatar Apr 26 '23 13:04 haniniksoleimani

I also met this question. I have installed the diffusers package and I can import it on the terminal, and it existed in the site-package file. But when I import diffusers package in pyhton file, the error is as follows: ModuleNotFoundError: No module named 'diffusers'. More details can see the picture f0aa1f508aee5ce723313199f63a606

JIAOJIAYUASD avatar Jun 12 '23 06:06 JIAOJIAYUASD