mcmonkeyprojects / sd-infinity-grid-generator-script

Infinite-Axis Grid Generator for Stable Diffusion!
MIT License
178 stars 24 forks source link

save at step #119

Closed yggdrasil75 closed 7 months ago

yggdrasil75 commented 10 months ago

short example is 45 steps on each prompt/sampler. but it should only be 20. you should be able to save at step 10, step 15, and step 20 without having to generate up to that step again. genning to x step and repeating is pointlessly costly. short example would be slightly less than half the speed (or maybe exactly) when doing it in this manner. the reason it is not exactly 4/9ths is due to overhead of saving, finalizing, and generating the step counter.

this would require a helper always on script.

I tried to figure it out, but unfortunately, I dont know how to properly "finalize" the image. where I did it, it doesnt finalize decoding for some reason so there are weird blobs like you would get when interrupting. I probably need to call postprocess or something before saving, but dont know for sure.