Skip to main content

Module upsampler

Module upsampler 

Source
Expand description

Latent upsampler for 32×32 → 64×64 latent upsampling.

This module implements the sd-x2-latent-upscaler pipeline for upsampling latents from 32×32 to 64×64, enabling 512×512 output resolution (vs 256×256).

The upsampler uses a separate U-Net model with 10-step DDIM denoising in latent space. A fallback BilinearVae mode is also provided for cases where the upsampler weights are not available.

Structs§

LatentUpsampler
Latent upsampler for 32×32 → 64×64 latent upsampling.

Enums§

UpsamplerMode
Upsampler mode selection.