News for hackers. Stuff that matters.
Re:Try Stable Diffusion's Img2Img Mode by jtolmar on Monday August 29, 2022 @12:50AM (#32634907)
I'm impressed that running it on CPU only made it ~20x slower. How did you do it?
Re:Try Stable Diffusion's Img2Img Mode by lkois on Monday August 29, 2022 @01:03AM (#32634958)
Nah that's normal. It's why GPUs are the usual thing for AI. Any crap, old, weak gpu with 4gb memory would run circles around a cpu

It's often easier to actually get models to run on CPU, due to simpler install configs and more available memory. Just painful to get a result out of it. Which might help keep the install simple, because it's not even worth optimizing

Re:Try Stable Diffusion's Img2Img Mode by kgwgk on Monday August 29, 2022 @02:44AM (#32635385)
> Any crap, old, weak gpu with 4gb memory would run circles around a cpu

Not really.

https://news.ycombinator.com/item?id=32635086

I’m not even sure it works well - if at all - with 4Gb.

In any case, it’s impressive even if it takes minutes. And it’s not like you need to be there to make it work. You can create a list of prompts, let it do its thing and check the results later.

Re:Try Stable Diffusion's Img2Img Mode by hwers on Monday August 29, 2022 @04:09AM (#32635794)
I have 4 gb and it takes about 9 seconds for me :) (Tho at 448x448 but there’s no real difference in quality.)
Re:Try Stable Diffusion's Img2Img Mode by kgwgk on Monday August 29, 2022 @04:24AM (#32635899)
Good to know it works. That’s not a crap, old, weak gpu, I guess.

I’ve not tried that size but I tried 256x256 and it was too small to get interesting results - maybe there are some parameters that can be adjusted to improve it though.

Re:Try Stable Diffusion's Img2Img Mode by stavros on Monday August 29, 2022 @07:07AM (#32636720)
The GP is asking why it's only 20x slower, rather than more slow.
Re:Try Stable Diffusion's Img2Img Mode by lkois on Monday August 29, 2022 @12:00PM (#32639790)
Ha yep I see that now, on a reread. My bad
Re:Try Stable Diffusion's Img2Img Mode by stavros on Monday August 29, 2022 @12:16PM (#32639977)
It's OK, I missed the "only" the first time around and read it the same way as you.