sd.cpp-webui icon indicating copy to clipboard operation
sd.cpp-webui copied to clipboard

Quick question about adding queue

Open Dorro101 opened this issue 3 months ago • 3 comments

Hi Dani

I am wondering if it would be possible to implement a queue, rather like in Handbrake for submitting jobs to the SD executable. Currently I generate one image at a time, experimenting by changing a few settings and fettling the prompts and clicking generate. This means I have to wait for an image to finish generating, before I can make a few more changes and regenerate. I would find a job queue helpful, as I could put a number of jobs in the queue, go do something else useful and come back later to have a look at the results of my fiddling. Being able to tweak a job and resubmit to the queue quickly would be very useful, as it would eliminate a lot of the copy and paste I have do now to resubmit jobs with just a few tweaks.

Kind regards Dorian

PS: Just curious if possible with minimal effort. If not, please ignore...

Dorro101 avatar Sep 26 '25 02:09 Dorro101

That would actually be a good addition to the program. I never even tried to do it so I can try and see if it's possible to add.

daniandtheweb avatar Sep 26 '25 08:09 daniandtheweb

+1 for the queue. Great project!

evcharger avatar Oct 14 '25 09:10 evcharger

I've been trying to implement the queue but I'm currently at a dead end as Gradio buttons only accept one function execution per click and the button is disabled until the generation function ends.

This will probably need some workarounds in order to make it work but currently I haven't found any.

I'll keep looking into it.

daniandtheweb avatar Nov 04 '25 22:11 daniandtheweb

I'm glad to inform you that with 2260e9740a8a45a509d6ec2d852e93798e3ffca2, an initial version of the job queue has finally been released.

daniandtheweb avatar Dec 13 '25 18:12 daniandtheweb

Great news! I am not sure when I'll get to test it out. I have put my stable-diffusion.cpp experimentation on the backburner. I have found my iGPU excruciatingly slow for anything but the early Stable Diffusion models. My wife has kindly allowed me to include a dGPU in our budget for my birthday at the end of January, probably a mid-range 5000 Radeon...

Thanks for the effort, it will make a great improvement when using Stable-Diffusion.ccp, which I see is getting server functionality...

Ciao Dorian

PS: My interest is piqued and will give it a try as soon as I can...

Dorro101 avatar Dec 14 '25 14:12 Dorro101