← Back to context

Comment by peri-cl

6 hours ago

I've set it up on my local machine just now, as my first local image diffuser. I can confirm it's very easy.

I tried stable-diffusion.cpp, following its compile guide here[0], and its Qwen Image-2.1 specific instructions here[1]. It works out of the box. I made a test pelican[2]. It took 3 minutes on a CPU.

[0] https://github.com/leejet/stable-diffusion.cpp/blob/master/d...

[1] https://github.com/leejet/stable-diffusion.cpp/blob/master/d...

[2] https://i.ibb.co/yMknC2K/output.png

Thank you! Can you please check how much RAM does it consume (and require)?

  • This is what the runtime reports, at Q8:

        total params memory size = 15645.19MB (VRAM 15645.19MB, RAM 0.00MB):
        text_encoders 7669.77MB(VRAM),
        diffusion_model 7331.05MB(VRAM),
        vae 644.38MB(VRAM),
        controlnet 0.00MB(N/A),
        extensions 0.00MB(N/A)

    • That suggests that 16GB RAM will not be enough.

      In fact, like it appears in the reports above, it is "7b" as in

      > 7B parameters in its visual generation component

      It seems they calibrated the size to fill a 16GB VRAM near the limit. RAM requirements will vary.