Steppe, a free AI photo upscaler, sharpened small photos on a CPU-only box in about 3 GB of RAM, but turned small print into fake letters
Steppe-Flux.2 is TensorForger's generative 2x image upscaler, released on Nov 24, 2026 under the MIT license, which allows commercial use. It works on the latents of the FLUX.2 autoencoder (Apache 2.0), so it needs two downloads: the 385 MB upscaler (192 million parameters) and the 168 MB FLUX.2 VAE. Steppe ships no photo command, so we ran it with our own 30-line script (below) on our CPU-only box (8 cores, no GPU). A 512x384 tiger photo came back at 1024x768 in 19.4 seconds including the first download, and a cat photo took 13 seconds; fur, whiskers and eyes looked sharper than plain resizing, using about 3 GB of RAM. But at 4x from a tiny 256 px photo, the small print on shop signs turned into made-up letters, and RAM grows quickly with photo size (768 px used 5.2 GB; 1024 px went past 7 GB). Measured on our box, not typical.
Try it
python3 -m venv .venv && . .venv/bin/activate
pip install -q torch --index-url https://download.pytorch.org/whl/cpu
pip install -q diffusers accelerate "steppe[standalone] @ git+https://github.com/TensorForger/ComfyUI-Steppe"
cat > upscale.py <<'EOF'
# Upscale a photo 2x (or 4x) on CPU with Steppe-Flux.2: photo -> FLUX.2 VAE latent -> Steppe -> VAE decode.
# Usage: python upscale.py in.jpg out.png [2|4]
import sys, torch, numpy as np
from PIL import Image
from diffusers import AutoencoderKLFlux2
from steppe import LATENT_SPACES, UpscaleSettings, load_upscaler
src, out = sys.argv[1], sys.argv[2]
times = 2 if sys.argv[3:] == ["4"] else 1
up = load_upscaler("steppe_flux_2_200M_1step.safetensors")
vae = AutoencoderKLFlux2.from_pretrained("black-forest-labs/FLUX.2-klein-4B", subfolder="vae", torch_dtype=torch.bfloat16)
bn = vae.bn
mean = bn.running_mean[None, :, None, None].float()
std = (bn.running_var + vae.config.batch_norm_eps).sqrt()[None, :, None, None].float()
space = LATENT_SPACES["flux_2"]
img = Image.open(src).convert("RGB")
w, h = img.size
x = torch.from_numpy(np.asarray(img, dtype=np.float32) / 127.5 - 1).permute(2, 0, 1)[None]
x = torch.nn.functional.pad(x, (0, -w % 16, 0, -h % 16), mode="replicate")
with torch.inference_mode():
lat = vae.encode(x.to(torch.bfloat16)).latent_dist.mode().float()
lat = (space.pack(lat[:, :, None])[:, :, 0] - mean) / std
for _ in range(times):
lat = up.upscale(lat, UpscaleSettings(hff=0.9, guidance=1.0)).float()
lat = space.unpack((lat * std + mean)[:, :, None])[:, :, 0]
y = vae.decode(lat.to(torch.bfloat16)).sample[0].float()
f = 2 ** times
y = ((y[:, :h * f, :w * f].clamp(-1, 1) + 1) * 127.5).round().byte().permute(1, 2, 0).numpy()
Image.fromarray(y).save(out)
print(f"{w}x{h} -> {w * f}x{h * f} ({f}x), saved {out}")
EOF
python upscale.py tiger.jpg tiger-2x.pngLinux x64, Python 3.10 or newer. upscale.py is our own 30-line script (Steppe ships no photo command): it encodes your photo with the FLUX.2 VAE, upscales the latent 2x with Steppe's default 200M 1-step model at the card's recommended settings, and decodes it. Swap in your photo; add 4 at the end for 4x. The first run downloads 553 MB (the 385 MB upscaler and the 168 MB FLUX.2 VAE, no account needed). No GPU needed. On our CPU-only test box (8 cores, no GPU), a 512x384 photo took about 13 seconds and about 3 GB of RAM; RAM grows with photo size (768 px used 5.2 GB, a 1024 px photo went past 7 GB); that is not typical. It is generative: results vary slightly per run and it can invent detail, so check any text.
Sources
- Steppe-Flux.2 model card, license and files (TensorForger, Hugging Face)huggingface.coPrimary
- ComfyUI-Steppe code and Python package (TensorForger, GitHub)github.comPrimary
- Steppe Latent Upscaler on the Comfy Registryregistry.comfy.org
- ComfyUI-JanRT-Upscalers, a third-party pack that ships Steppe (JanRT Studio, GitHub)github.com
- FLUX.2 [klein] 4B, source of the Apache 2.0 FLUX.2 VAE (Black Forest Labs, Hugging Face)huggingface.coPrimary
- FLUX.2 on GitHub: autoencoder released under Apache 2.0 (Black Forest Labs)github.comPrimary
- MIT License (Open Source Initiative)opensource.orgPrimary