Kandinsky-ImageSR-2.0-GGUF (ComfyUI Compatible)

Mixed-precision K-quant GGUF conversions of kandinskylab/Kandinsky-ImageSR-2.0 β€” the open-source (MIT) one-step 2x/4x image super-resolution DiT β€” packaged with a self-contained ComfyUI custom node pack and drag-and-drop workflow.

---

Available Quantizations

All 305 precision-sensitive tensors (~71 MB total β€” modulation_table, xattn_bias_table, visual_embeddings, out_layer, QK RMSNorms, and all biases) are kept in 100% lossless FP32. Only the 200 heavy transformer linear matrices across the 50 DiT blocks are quantized using custom mixed-precision K-quant recipes that boost sensitive edge blocks (0, 1, 48, 49) and attention/FFN output projections.

File Size Tensor Breakdown Cosine Sim vs BF16 Recommended For
kandinsky-imagesr-2.0-Q6_K.gguf 3.3 GB 305 F32 + 200 Q6_K 0.98915 Maximum fidelity (virtually indistinguishable from BF16)
kandinsky-imagesr-2.0-Q5_K_M.gguf 3.02 GB 305 F32 + 108 Q6_K + 92 Q5_K 0.98259 High-precision balance for 6–8 GB+ VRAM GPUs
kandinsky-imagesr-2.0-Q4_K_M.gguf 2.71 GB 305 F32 + 62 Q6_K + 46 Q5_K + 92 Q4_K 0.94121 Recommended daily driver β€” great quality in 4–6 GB VRAM
kandinsky-imagesr-2.0-Q3_K_M.gguf 2.04 GB 305 F32 + 16 Q5_K + 92 Q4_K + 92 Q3_K 0.74441 Ultra-low VRAM / lightweight fallback

πŸ–ΌοΈ Showcase Gallery

Prompt
showcase_apollo_visor_quants
Prompt
apollo_hero_q4km
Prompt
apollo_lr_input_bicubic_x4
Prompt
apollo_x4_Q3_K_M
Prompt
apollo_x4_Q4_K_M
Prompt
apollo_x4_Q5_K_M
Prompt
apollo_x4_Q6_K

Quick Start in ComfyUI

Because Kandinsky-ImageSR-2.0 uses a custom 1-step tiled flow-matching pipeline (rather than a standard KSampler), it loads through the included ComfyUI-Kandinsky-ImageSR2-GGUF custom node pack on top of stock ComfyUI-GGUF.

1. Install Required Custom Nodes

First, install city96/ComfyUI-GGUF (via ComfyUI-Manager or Git):

cd ComfyUI/custom_nodes
git clone https://github.com/city96/ComfyUI-GGUF.git
pip install -U gguf

Next, copy the ComfyUI-Kandinsky-ImageSR2-GGUF/ folder from this repository directly into ComfyUI/custom_nodes/:

# Using huggingface_hub CLI
hf download Abiray/Kandinsky-ImageSR-2.0-GGUF \
  --include "ComfyUI-Kandinsky-ImageSR2-GGUF/*" \
  --local-dir ComfyUI/custom_nodes

2. Download Model Weights (GGUF + Required FLUX.1 VAE)

  1. GGUF Transformer (pick one from the table above): Place your chosen .gguf file into:

    ComfyUI/models/diffusion_models/
    

    (Also detected automatically in ComfyUI/models/unet/ and ComfyUI/models/unet_gguf/.)

  2. FLUX.1 VAE (ae.safetensors, ~335 MB β€” required, ungated): Kandinsky-ImageSR-2.0 uses the standard FLUX.1-schnell VAE. If you do not already have ae.safetensors, download it directly from Comfy-Org:

3. Expected Folder Layout

ComfyUI/
β”œβ”€β”€ custom_nodes/
β”‚   β”œβ”€β”€ ComfyUI-GGUF/
β”‚   └── ComfyUI-Kandinsky-ImageSR2-GGUF/
β”‚       β”œβ”€β”€ __init__.py
β”‚       β”œβ”€β”€ model.py
β”‚       β”œβ”€β”€ nodes.py
β”‚       β”œβ”€β”€ requirements.txt
β”‚       └── LICENSE
└── models/
    β”œβ”€β”€ diffusion_models/
    β”‚   └── kandinsky-imagesr-2.0-Q4_K_M.gguf
    └── vae/
        └── ae.safetensors

4. Load the Ready-to-Run Workflow

  1. Restart ComfyUI.
  2. Download workflows/kandinsky_imagesr2_gguf_workflow.json and drag-and-drop it straight onto the ComfyUI canvas.
  3. Select your input image in Load Image, verify your .gguf in Kandinsky ImageSR 2.0 Loader (GGUF) and ae.safetensors in Load VAE, and hit Queue!

If building manually, both nodes are available under Abiray/Kandinsky ImageSR 2.0:

  • Kandinsky ImageSR 2.0 Loader (GGUF)
  • Kandinsky ImageSR 2.0 Upscale

Recommended Settings & GPU Tips

  • upscale_factor (x2 / x4): Native one-step super-resolution scale.
  • creativity (0–8, default 4): Selects from the 19 pre-baked timestep conditioning tables.
    • 0–4: Best for portraits, text, and faithful restoration (preserves facial identity cleanly).
    • 5–8: Synthesizes stronger fine textures on landscapes, fabric, and heavily degraded inputs.
  • tile_size (256–1024, default 1024) & overlap (0.0–0.75, default 0.25):
    • The model was trained at 1024 output tiles with 0.25 overlap and boundary-aware Hanning window blending.

Credits & License

Downloads last month
267
GGUF
Model size
4B params
Architecture
flux
Hardware compatibility
Log In to add your hardware

3-bit

4-bit

5-bit

6-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

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

Quantized
(4)
this model