ComfyUI-Steppe

Upload an image and get a 2x or 4x Steppe upscale. Nothing to install.

🆕 New in 1.3.0: low VRAM and speed update
The networks now run in bands of rows, and Wan 2.1 videos stream through the network in chunks of frames: the same
result as before with a fraction of the memory, and a bit faster. A 2048 → 4096 upscale (FLUX.2 VAE, the second
step of the 4x example workflows) needs 0.7 GB instead of 4.6 GB, so it no longer spills into system memory on
6-8 GB GPUs, where that can make it take minutes. An 8192 px output fits in about 2.6 GB. New loader option compile
(torch.compile) for about 20% more speed.
| 1-step 200M models, RTX 5090 |
1.2.0 |
1.3.0 |
1.3.0 + compile |
| FLUX.2, 1024 → 2048 |
213 ms, 1.14 GB |
181 ms, 0.38 GB |
142 ms |
| FLUX.2, 2048 → 4096 |
821 ms, 4.58 GB |
727 ms, 0.72 GB |
610 ms |
| Wan 2.1, 2048 → 4096 |
748 ms, 4.92 GB |
646 ms, 0.72 GB |
539 ms |
| Wan 2.1 video, 81 frames 480x832 → 161 frames 960x1664 |
3.65 s, 8.51 GB |
2.98 s, 1.12 GB |
2.57 s |
Peak activation memory, without the model weights (0.4 GB). The H3 → FLUX.2 translator uses the same network and
gets the same savings.
Steppe is a family of generative latent upscalers: small generative models trained only for upscaling, which
run directly on VAE latents. The upscaled latent is decoded straight by the VAE: no second sampling pass of the
base model, no hires fix, no prompt.
- 2x resolution of images and videos, e.g. 512 → 1024 or 1024 → 2048, and chained 2x → 2x.
- 2x frame rate of videos (latent frame interpolation), also combined with 2x resolution.
- One step: about 45 ms for a 1024 px image with the default model. Most of the time goes to the VAE decode.
- Sharpness control through the high frequency feature (hff).
- Works with latents of two VAEs (see Supported models), all in the same loader and upscale nodes.
- Experimental latent translator: MiniMax-H3-Image latents → FLUX.2 latents of the same image, decoded by a FLUX.2
VAE (see Latent translator).
https://github.com/user-attachments/assets/5ac3da99-5d0a-496e-b78e-5911f3075968
Wan 2.1 1.3B, 640x512 at 16 fps → Steppe 1280x1024 at 32 fps (2x resolution and 2x frame rate in one pass).
Supported models
Steppe models are trained per VAE: one model family serves every generative model that uses that VAE.
The model cards have the galleries, benchmarks and training details of each family. The nodes download the models on
first use.
Latent translator (experimental)
A Steppe translator turns the latents of one VAE into the latents of the same image for another VAE, at the same
resolution, with the same kind of generative model as the upscalers. The result is decoded by the target VAE.
| source VAE |
target VAE |
Steppe models on Hugging Face |
why |
MiniMax-H3-Image VAE (minimax_h3_image_vae) |
FLUX.2 VAE (best with flux2-vae_small) |
TensorForger/Steppe-H3-to-Flux.2 |
the FLUX.2 decoder keeps fine detail (small faces, text, textures) that the H3 decoders lose: Axis-V1 1k patch FID 1.53 vs 2.44 for the MiniMax-H3 VAE and 2.01 for P-H3-Image (1-step model); the FLUX.2 upscalers can follow it |
KSampler (MiniMax-H3-Image) → Steppe Translate Latent → VAE Decode (FLUX.2 VAE). The 1-step translation plus the
FLUX.2 small decode takes 97 ms at 1024 px, about 2x the native H3 decoder (46 ms) and half of P-H3-Image (194 ms).
P-H3-Image and ostris stay closer to the input on whole-image FID, PSNR and color; the full benchmark is on the
model card.
The translator models are distributed under the MiniMax-H3-Image Community License Agreement (they were trained on
H3-Image latents), not MIT; see the model card. The nodes themselves stay MIT.
Installation
The nodes download models into ComfyUI/models/latent_upscale_models on first use. You can also download them
yourself from Hugging Face (Wan 2.1,
FLUX.2) into that folder.
Models
Pick the models of the VAE your workflow uses: steppe_wan_2_1_* for the Wan 2.1 VAE, steppe_flux_2_* for the
FLUX.2 VAE. A model of the wrong VAE stops with an error that names the right one.
| file |
steps |
size |
use |
steppe_wan_2_1_200M_1step.safetensors |
1 |
445 MB |
Wan 2.1 VAE default: the quality of the base model in one step |
steppe_wan_2_1_200M_base.safetensors |
1-200 (20) |
444 MB |
most control and research: steps, CFG on hff; same quality as 1-step |
steppe_wan_2_1_20M_1step.safetensors |
1 |
39 MB |
lite: very large outputs (2048 → 4096), real time |
steppe_flux_2_200M_1step.safetensors |
1 |
385 MB |
FLUX.2 VAE default: the quality of the base model in one step |
steppe_flux_2_200M_base.safetensors |
1-200 (30) |
384 MB |
most control and research: steps, CFG on hff; same quality as 1-step |
steppe_flux_2_20M_1step.safetensors |
1 |
40 MB |
lite: very large outputs, real time (with a tiny decoder) |
steppe_h3_to_flux_2_200M_1step.safetensors |
1 |
385 MB |
MiniMax-H3-Image → FLUX.2 translator default (Load Steppe Translator) |
steppe_h3_to_flux_2_200M_base.safetensors |
1-200 (30) |
384 MB |
translator base model: best quality (patch FID 1.49), steps, CFG on hff |
The FLUX.2 models upscale images only (no temporal).
Nodes
| node |
what it does |
| Load Steppe Upscaler |
Loads a model and downloads released models if missing. dtype: auto (bfloat16 where supported) or float32. compile: torch.compile the network, about 20% faster after a few seconds of compilation on the first run and on new resolutions; needs Triton, falls back to normal mode otherwise. |
| Steppe Upscale Latent |
Upscales a LATENT: spatial 2x resolution, temporal 2x frame rate (Wan 2.1), hff, guidance, steps (base models only, 0 = recommended), seed. |
| Steppe Upscale Latent (Advanced) |
Adds negative_hff, shift, noise_scale and temporal windows for long videos. |
| Steppe Measure HFF |
The hff value of an image, e.g. to match the sharpness of a reference. |
| Load Steppe Translator |
Loads a latent translator (steppe_h3_to_flux_2_*) and downloads released models if missing. dtype and compile as in the upscaler loader. |
| Steppe Translate Latent |
Translates a LATENT of the source VAE (MiniMax-H3-Image) into a LATENT of the target VAE (FLUX.2): hff (-1 = off, default), guidance, steps (base model only, 0 = recommended), seed. Decode with the target VAE, or upscale it with a Steppe model of the target VAE first. |
| Steppe Translate Latent (Advanced) |
Adds negative_hff, shift, noise_scale. |
Basic graph: KSampler → Steppe Upscale Latent → VAE Decode. Images and videos use the same node.
Example workflows
In example_workflows/ (also listed in ComfyUI’s template browser under custom nodes):
krea_2_steppe_image_upscale_4x.json: Krea 2 Turbo at 960x1280, two chained Steppe nodes, 3840x5120 output.
wan_2.1_steppe_video_upscale_spatiotemporal.json: Wan 2.1 T2V 1.3B at 640x512, 65 frames at 16 fps, Steppe 2x
resolution and 2x frame rate: 1280x1024, 129 frames at 32 fps.
flux_2_klein_steppe_image_upscale_4x.json: FLUX.2 [klein] 4B at 896x512, two chained Steppe nodes, 3584x2048
output.
moss_image_steppe_image_upscale_4x.json: MOSS-Image at 960x1280, two chained Steppe nodes, 3840x5120 output.
The model links and folders are in the note inside each workflow. The image workflows compare the results with the
Image Comparer of rgthree-comfy.
Parameters
- hff (high frequency feature,
0...1, default 0.9) is the target amount of fine detail and sharpness. -1
turns hff off and lets the model choose. The values are absolute: Steppe Measure HFF on a photo at the target
resolution gives a value that matches it.
- guidance:
- 1-step models: distilled guidance, trained on 1-3 (FLUX.2: 1-2). The default
1 turns it off and is safe and
stable; 2 also works well. It is a model input, so it costs nothing.
- Base models: classifier free guidance between
hff and negative_hff (default: no hff). On Wan 2.1 the effect
is subtle, so use 4-8 for a visible change; FLUX.2 reacts much more strongly to hff. Guidance above 1 costs two
passes per step.
- steps / shift (base models):
0 uses the recommended values, 20 steps / shift 4 for Wan 2.1 and 30 steps /
shift 2 for FLUX.2.
- temporal: T latent frames become 1 + 2 (T - 1), i.e. 81 → 161 pixel frames for Wan. The first frame is kept.
- temporal_window (Advanced): long videos run without windows, since memory is handled by chunking. Windows of
about 8-16 source latent frames keep each piece close to the training clip length.
Tips
- Chained upscaling 512 → 1024 → 2048 (4x): use two Steppe nodes. The 1-step model is as good as the base model
here, too. The 20M model is fast enough for the 2048 → 4096 step.
- Any aspect ratio works; inputs from 512x512 pixels up are tested.
- Base model: same quality as the 1-step model for general use; it is for control and research (steps, CFG on
hff, negative hff, shift, noise scale).
- Decoding large outputs: use
VAE Decode (Tiled) for 2048 px images and upscaled videos.
- Video: 81 frames at 480x832 → 960x1664 at 2x frame rate takes 3.2 s and 1.8 GB peak VRAM with the 1-step model
(RTX 5090), plus the VAE decode.
- Low VRAM: the networks run in bands of rows and long videos in chunks of frames, with the same result as in
one piece. A 4096 px output (2048 → 4096) needs about 1.2 GB VRAM with the 200M models (weights included), an
8192 px output about 2.6 GB. The VAE decode needs much more: use
VAE Decode (Tiled).
- Not supported: the Wan 2.2 5B (TI2V) VAE (48 channels), and FLUX.1, SD3 and SDXL latents. 16 channel FLUX.1 /
SD3 latents pass the Wan 2.1 channel check but give wrong results.
How it works
Latent upscalers made for hires fix only stretch the latent, so the base model has to denoise it again at the high
resolution. Steppe is a generative model itself: a window transformer on the full resolution latent grid generates
the missing detail with rectified flow, distilled to one step. Details on the model cards:
Wan 2.1,
FLUX.2.
Benchmark
1000 photos (Axis-V1), 512 → 1024 from the latent only (no prompt). Patch FID on native 256 px tiles (lower is
better); latency at batch 1 on an RTX 5090, VAE decode included.
| VAE |
Steppe 200M 1-step |
Steppe 20M 1-step |
best other 2x solution |
bicubic after decode |
| Wan 2.1 |
4.36, 179 ms |
5.85, 141 ms |
6.33, 29 ms (Wan2.1-VAE-upscale2x decoder) |
14.13, 30 ms |
| FLUX.2 |
1.75, 172 ms |
2.20, 131 ms |
4.28, 128 ms (FlowUpscaler, our previous model) |
8.12, 25 ms |
Full tables with FID, color shift, VRAM and plots:
Steppe-Wan2.1,
Steppe-Flux.2. Benchmark images:
Axis-V1 by refine-axis (CC BY 4.0).
Python
The steppe package is pure PyTorch and does not need ComfyUI:
pip install "steppe[standalone] @ git+https://github.com/TensorForger/ComfyUI-Steppe"
from steppe import TranslateSettings, UpscaleSettings, compile_network, load_translator, load_upscaler
upscaler = load_upscaler("steppe_wan_2_1_200M_1step.safetensors") # downloads from Hugging Face
upscaler.model.to("cuda")
compile_network(upscaler.model) # optional: torch.compile, about 20% faster after a warm-up
# raw (unnormalized) Wan 2.1 VAE latents, [B, 16, T, H, W] or [B, 16, H, W]
upscaled = upscaler.upscale(latents, UpscaleSettings(spatial=True, temporal=False, hff=0.9, guidance=1.0))
flux_upscaler = load_upscaler("steppe_flux_2_200M_1step.safetensors")
flux_upscaler.model.to("cuda")
# FLUX.2 latents as ComfyUI and the diffusers FLUX.2 pipelines use them: 2x2 packed and batch norm normalized,
# [B, 128, H / 16, W / 16]
flux_upscaled = flux_upscaler.upscale(flux_latents, UpscaleSettings(hff=0.9, guidance=1.0))
translator = load_translator("steppe_h3_to_flux_2_200M_1step.safetensors")
translator.model.to("cuda")
# MiniMax-H3-Image latents as ComfyUI uses them, [B, 24, 1, H / 16, W / 16] -> FLUX.2 latents [B, 128, H / 16, W / 16]
flux_latents = translator.translate(h3_latents, TranslateSettings())
License
MIT (see LICENSE). Steppe works on latents of the Wan 2.1 VAE (Apache-2.0, Wan Team, Alibaba Group) and of the
FLUX.2 VAE (Apache-2.0, Black Forest Labs); see NOTICE.
The H3 → FLUX.2 translator models (downloaded from
Steppe-H3-to-Flux.2, not part of this repository) are
distributed under the MiniMax-H3-Image Community License Agreement.
评论