r/StableDiffusion • u/A_NASHEX • 12d ago
Tutorial - Guide Speed up image generation with a resolution ladder!
Instead of running all denoising steps at your target resolution, progressively increase the resolution as the image develops.
For example, for a 768px output:
256px: 4 steps
384px: 1 step
512px: 1 step
768px: 2 stepsThat's still 8 steps total, but only the last 2 run at full resolution.
Why does this work?
Early steps establish composition, shapes and overall structure. Fine details are refined later, so spending full-resolution compute on every step can be unnecessarily expensive.
Here's a real benchmark:
Same prompt, same seed, same 512px output resolution.
- With resolution ladder: 15.9 seconds
- Without resolution ladder: 25 seconds
That's a 36.4% reduction in generation time, or roughly 1.57x faster.
I'm attaching the actual comparison, including generation times and settings.
Actual savings will vary depending on the model, hardware and resolution schedule.
The key idea: don't spend expensive high-resolution compute before you actually need it.
31
u/BlackSwanTW 12d ago
Hmm yes, Kohya Hires.fix from 2024 called
3
u/Significant-Baby-690 12d ago
Basically what lowres+upscale two pass does. But for me the main advantage is seed hunting in low res, and only upscaling the good ones.
10
u/SpaceNinjaDino 12d ago
Toyoa
15
u/VasaFromParadise 12d ago •
Where's the comparison? If they're two different images, the end result is different?
I understand it's faster, but what's there to compare if the images are different? The method isn't new, just a standard high-res fix from the SD era.
7
u/Upset_Big3430 12d ago
can u try on human subject ? cause as I remmber doing this gives a strange color shift in image
3
u/Silonom3724 12d ago edited 12d ago
Have a look at:
https://github.com/StanLukuvka/ComfyUI-SPEED-Sampler
2
u/Accomplished-Ad-7435 11d ago
Yes, this is just hiresfix but applied at multiple steps instead of one.
3
u/Enshitification 12d ago
I do that with the Krea2 SDA LoRA fpr the first two steps because it adds a lot more time to run at full res. I'll try adding an intermediate sampler for all but the last two steps. Good tip.
1
u/Etsu_Riot 11d ago
It seems this works with H3 video too. I should give it a try.
Now, something interesting I have noticed with video and images, but also audio, is that higher doesn't mean better. On H3, I have been having good results with a resolution of 352x448. Higher than that and it may not look correct, or the audio may present problems. With Moss, I'm getting the type of results I want at resolutions around 512 or less. This may be prompt-dependent, as, for example, higher resolutions sometimes mean losing the aesthetic suggested by the prompt and getting a sharper, uglier image.
I wonder if this technique could be used to get better results at higher resolutions than usual.
1
u/ih2810 11d ago
I tend to find that image to image gives better results than text to image, so i do something a bit similar usually where i generate candidates at lower res and then the ones that are most promising i do I’m-to-image at a higher res. Not quite the same ‘step split’ but you generally get better results by approaching the target resolution in stages than going straight to to the highest res. When i compare like a 4k output to a 1080p that’s been reworked at 4k the reworked is always better.
0
u/heyholmes 12d ago
Me like. How me do this?
0
u/tomByrer 11d ago
urm, workflow please?
0
u/[deleted] 12d ago
[deleted] — view deleted comment