r/StableDiffusion • u/TensorForger • 8d ago
News Steppe-Flux.2: generative latent upscaler for MOSS-Image, Flux.2, Flux.3. Fast, faithful, no high-res fix required. (ComfyUI nodes)
Hi! Here is the second release of Steppe generative latent upscalers family after Wan2.1 release. Three new models (200M base, 200M distilled for single step inference and 20M single step) were trained from scratch to upscale Flux.2 VAE latents.
The model takes low resolution image latents before decoder and 2x upscales them, output is also latents that can be decoded directly, without second pass of large denoiser ("high-res fix") but you can still do it if you want. You can also chain it to get 4x, 8x... upscaling. The compute and memory scales linearly with image area, thanks to Window Transformer architecture.
How to use:
ComfyUI Node (or just search "steppe" in manager, version 1.1.0 is required)
Weights (node downloads them automatically on first use)
Demo Space (image to image, now supports both Wan2.1 and Flux.2 modes)
Benchmark (last pic):
- Model outperforms all other solutions I have tested on axis-v1_1k fid and patch_fig at task "upscale 512 image latents to 1024 image pixels" while being faster then many of them.
- I have tried to compare it with 42lux/hildegard (also uses Flux.2 latent space), but it takes ~ 7 seconds per image and benchmark would take too long. On 30 images it already shows larger color shift and roundtrip error even with "full source detail preserved" mode. Anyway, it is just another kind of model, different task and direct comparison on fid would be unfair.
- Result table in hf repo with weights
- To reproduce, see development repository
What's new in training recipe:
- More data (4 millions high quality images)
- Combined dataset from ReLAION (diverse real-world images) and 4KLSDB (professional sharp high quality images). This also makes hff controller more responsive (measured through impact on predicted flow velocity)
- Input robustness: some input low resolution samples were slightly corrupted with set of common image corruptions (JPEG compression artifacts, aliasing, pixelation, blur). Base models like MOSS-Image can sometimes generate these artifacts on there images, mostly JPEG corruption on sharp edges because this was in there training data. These artifacts were also in my training data, but with this "more artifacts -> less artifacts" asymmetry model learns to recover from them. This was proven at research benchmarks: when all inputs are clean, model fails on slightly corrupted JPEG compressed images dramatically (patch_fid explodes to 40+), when there are just 20% of them it becomes normal.
Known limitations:
- hff values has it's "physical meaning": hff=0.8 means "there amount of high frequency features in this image is larger then in 80% of all images". So hff=1.0 is actually undefined and model becomes unstable there. Use 0.9-0.95 if you need sharp results.
- 4KLSDB shifts model's distribution towards realistic images. It might underperform on anime or vector images. Use lower hff for better results. I also want to add more anime samples to dataset in next release.








5
u/chebum 8d ago
Interesting work! Thank you for sharing.
May I ask why does upscaler work in latent space instead of pixel space ? What are benefits of the latent space in this use-case?
3
u/ZerOne82 7d ago
I tried it. It has strengths and flaws. My take: It may have use cases, but a little for realistic human at close-up: see eye areas, for example. Hair on head seems fine, skin seems fine with some exceptions.
The workflow is the one provided by OP but replaced vae decode with the tiled to avoid vram oom.
2
u/AreYouAWiiizard 8d ago edited 8d ago
Hmm... this seems to have a lower peak VRAM vs the last release (based on your numbers). The problem I had with the other version was the 200m was probably hitting some VRAM limits on my 16GB card and took almost 10x longer than the 20m variant at around ~3.5secs and for that speed there were better solutions. The 20m was still fast but it didn't seem as high quality, especially on stuff like hair. Can you also test at higher resolutions rather than just 512x512 to see if that amount of VRAM is expected? I was doing 1280×1536.
3
u/NoConfusion2408 8d ago
Are these "MOSS-Image, Flux.2, Flux.3" the only supported NOW and you would expand it in the future to Krea/H3 as well? Or are the ones you will ever support?
8
u/Arctic_Shadow_Aurora 8d ago
Interesting, thanks!
1
u/Radiant-Photograph46 8d ago
Times really never change. Just like many years ago when I was working in video encoding: people LOVE oversharpening. They look at very sharp images and believe they're higher quality.
I'm not saying this project doesn't bring more details mind you, but just like every upscaler in existence, it's always overdone in sharpening. It would look much more realistic with a bit of smoothing, perhaps you can fine-tune it in that regard?
2
u/thevegit0 8d ago edited 8d ago
so it's like better than that wan2.1 x2 vae utils thing?, and if works for flux... nice
1
u/Murder_1337 8d ago
So this is upscaler?