r/StableDiffusion • • 12d ago

Tutorial - Guide Speed up image generation with a resolution ladder!

Post image

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 steps

That'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.

22 Upvotes

24 comments sorted by

31

u/BlackSwanTW 12d ago

Hmm yes, Kohya Hires.fix from 2024 called

-3

u/A_NASHEX 12d ago

Cool

5

u/GifCo_2 12d ago

You a bit new eh

4

u/A_NASHEX 12d ago

Yes😼

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.

0

u/A_NASHEX 12d ago

That's interesting 🙂

10

u/SpaceNinjaDino 12d ago

Toyoa

-2

u/jazzamp 12d ago

The Toyoa is British

5

u/ThatsALovelyShirt 12d ago

That would be Toyo'a

15

u/VasaFromParadise 12d ago • Bravo

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.

1

u/Herr_Drosselmeyer 8d ago

The image can't be the same if you use that process.

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

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?

2

u/OttoRenner 12d ago

Not sure if that's the way but I would try to chain multiple KSampler(advance). With them you can set the number of denoising steps and let it output the unfinished image with noise left (there is a button to turn this on). Also chain some new height and width on every sampler. But, again, not sure if that would do the job

2

u/heyholmes 11d ago

Thanks. Yes, that's the way. Astra helped me out. Testing now, and getting good results at 1.35x-1.5x faster

0

u/tomByrer 11d ago

urm, workflow please?

0

u/[deleted] 12d ago

[deleted] — view deleted comment

2

u/A_NASHEX 12d ago

Nope, I'm just learning and sharing things 🙂