Kandinsky ImageSR 2.0 GGUF

Q8_0 transformer weights for native-resolution enhancement (×1) and ×2/×4 upscaling. This repository provides the matching configuration and Apache-2.0 FLUX.1-schnell VAE for the ImageSR loader. The GGUF weights use the kandinsky-imagesr architecture. The transformer takes 3.95 GiB on disk.

Original model · INT8 ConvRot · Gradio demo · ComfyUI node

For video upscaling, see Kandinsky 6.0 Video Super-Resolution. Demo · Model · GitHub

Run inference

Install PyTorch for your CUDA version, then install the ImageSR runtime.

pip install "kandinsky-image-sr[gguf] @ https://huggingface.co/kandinskylab/Kandinsky-ImageSR-2.0-GGUF/resolve/main/python/kandinsky_image_sr-1.1.1-py3-none-any.whl"
from huggingface_hub import hf_hub_download
from kandinsky_image_sr.quantization import load_quantized_pipeline

repo = "kandinskylab/Kandinsky-ImageSR-2.0-GGUF"
weights = hf_hub_download(repo, "Kandinsky-ImageSR-2.0-x1-Q8_0.gguf")
pipe = load_quantized_pipeline(repo, weights, "cuda")
pipe("input.png", upscale_factor=1, creativity=4).images[0].save("output.png")

Creativity ranges from 0 to 8 at all three scales, with level 4 as the default. The ×1 default uses t = 0.05.

Use with ComfyUI

Search for Kandinsky ImageSR 2.0 in ComfyUI Manager or run comfy node registry-install kandinsky-imagesr. Restart ComfyUI and download the GGUF file from this repository. In Load Kandinsky ImageSR 2.0, set model to kandinskylab/Kandinsky-ImageSR-2.0-GGUF and transformer_weights to the local GGUF file. Open the workflow in examples/ or see the ComfyUI setup guide.

H100 inference time

Median of three warmed runs on H100 80 GB with a 1024 × 1024 input, 25% overlap, and one tile per call. Measurements used t = 0.025 at ×1 and Creativity 4 at ×2 and ×4, with compiled DiT blocks, a compiled VAE decoder, and FlashAttention-3. Timing excludes PNG export.

Scale Output GGUF Q8_0 compiled
×1 1024 × 1024 0.178 s
×2 2048 × 2048 1.52 s
×4 4096 × 4096 4.25 s

The compiled ×4 run peaked at 5.92 GiB of PyTorch VRAM.

Downloads last month
14,098
GGUF
Model size
4B params
Architecture
kandinsky-imagesr
Hardware compatibility
Log In to add your hardware

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 2 Ask for provider support

Model tree for kandinskylab/Kandinsky-ImageSR-2.0-GGUF

Quantized
(6)
this model

Collection including kandinskylab/Kandinsky-ImageSR-2.0-GGUF