kandinskylab/Kandinsky-ImageSR-2.0

The image super-resolution model 2.0 version (packaged for Diffusers) released by Kandinsky Lab on 11 24: The same set of transformer weights performs both ×2 and ×4 upscaling, using the transformer from Kandinsky 5; the text encoder and all 50 cross-attention layers have been replaced with pre-computed lookup tables indexed by timestep, eliminating the need for prompts. Output is processed in chunks of 1024 pixels, with overlapping regions blended using a Hanning window; small images are padded first and then cropped back to their original size.

The image super-resolution model 2.0 version (packaged for Diffusers) released by Kandinsky Lab on 11 24: The same set of transformer weights performs both ×2 and ×4 upscaling, using the transformer from Kandinsky 5; the text encoder and all 50 cross-attention layers have been replaced with pre-computed lookup tables indexed by timestep, eliminating the need for prompts. Output is processed in chunks of 1024 pixels, with overlapping regions blended using a Hanning window; small images are padded first and then cropped back to their original size.

Why it matters Single-step image generation with smooth stitching after chunked processing can upscale images up to 2K to 8K; MIT licensed, ready to use in Diffusers upon installation

Rising score 102 · Likes 126 · Downloads 4

Reasons

  • Author's single-image processing time on H100 80GB (bf16, default settings): 1K→2K takes 2.78 seconds, 1K→4K takes 7.80 seconds, and 2K→8K takes 37.5 seconds
  • The creativity parameter has levels ranging from 0 to 8 for both ×2 and ×4 upscaling; level 4 corresponds to the default strength, allowing adjustment between fidelity to the original image and detail enhancement; an online demo Space is now live
  • The transformer and pipeline code are MIT licensed, while the bundled VAE comes from Apache 2.0's FLUX.1-schnell

Usage

  • First install torch corresponding to your CUDA version, then run pip install git+https://github.com/kandinskylab/kandinsky-image-sr.git(需要 (Diffusers 0.41 or higher)
  • Use KandinskyImageSRPipeline.from_pretrained("kandinskylab/Kandinsky-ImageSR-2.0", dtype=torch.bfloat16).to("cuda"), then call pipe("input.png", upscale_factor=4); the default one_step_t is 0.15 for ×2 and 0.244 for ×4, accepting only the default values and the 18 creativity levels listed in the configuration

Risks

  • The model card lacks image quality metrics, comparisons with other super-resolution models, and memory requirements; the timing figures are results from H100 hardware
  • The model card does not mention ComfyUI support; this entry has not been tested

Open

Hugging Face Trending

Explore the latest AI Radar updates