Kandinsky-ImageSR-2.0 β Native ComfyUI Checkpoints (BF16 / INT8 ConvRot / W4A8)
Single-file native ComfyUI checkpoints converted from kandinskylab/Kandinsky-ImageSR-2.0 (revision: 3dd0e6aefb1e86b2af95f01f0599195d68e610cd) for use with ComfyUI-Kandinsky-ImageSR2 and comfy-kitchen.
Supports x1 native-resolution enhancement, x2 and x4 (26 baked timesteps). Requires a ComfyUI-Kandinsky-ImageSR2 version with x1 support; older pack versions only read the 19-timestep files.
What Was Optimized (Zero Quality Loss on Architecture)
- Exact FP32 modulation tables for all 26 timesteps: The upstream release ships these as BF16. Here they are rebuilt in FP32 from the first release's FP32
visual_modulationprojections (revision: 7d5b5ed7def0b45b98f398c0b295a6b1658863db) evaluated on the current 26-rowtime_embed_table. The x2/x4 rows are bit-identical to the previous 19-timestep checkpoints. - Lossless fused
to_qkv(2560 -> 7680): Reduces ConvRot-256 activation rotation + dynamic INT8 quantization from3Γto1Γper block with zero cross-row scale pollution (per-row FP32 scales for INT8, per-row + per-group-16 scales for W4A8). - Protected layers preserved untouched:
visual_embeddings,out_layer, FP32modulation_table, FP32xattn_bias_table, QKRMSNorm, and all biases remain at exact source precision.
Files
| File | Variant | Size | Weight Rel-L2 (mean / max) | SHA-256 (prefix) | Recommended Hardware |
|---|---|---|---|---|---|
kandinsky-imagesr-2.0-int8-convrot.safetensors |
INT8 ConvRot-256 (Recommended) | 3.76 GB | 0.00862 (max 0.00956) | fcc47f8ec15c32a1... |
Best quality/speed balance across Turing/Ampere/Ada/Hopper/Blackwell/ROCm |
kandinsky-imagesr-2.0-w4a8.safetensors |
W4A8 (G=16, ConvRot-256) | 2.15 GB | 0.07304 (max 0.07315) | 5ca1e9bc7d2dc823... |
Ultra-low VRAM: fits 100% resident in 4 GB VRAM GPUs |
kandinsky-imagesr-2.0-bf16.safetensors |
BF16 (Folded + Fused-QKV) | 7.41 GB | 0.0 (lossless) | ec462e8879e464bf... |
Lossless reference (2.31 GB smaller than original HF shards) |
Usage in ComfyUI
- Install the ComfyUI-Kandinsky-ImageSR2 custom node pack (requires ComfyUI with
comfy-kitchen >= 0.2.36). - Place your chosen
.safetensorsfile inComfyUI/models/diffusion_models/. - Place the standard FLUX.1 VAE (
ae.safetensors/ae-bf16.safetensors, Apache-2.0) inComfyUI/models/vae/. - Load with Kandinsky ImageSR 2.0 Model + Kandinsky ImageSR 2.0 Upscale (and optionally ComfyUI's stock Model Attention Backend node for INT8 / Sage / Flash attention).
Licensing & Attribution
- Transformer weights: MIT License by Kandinsky Lab (
kandinskylab/Kandinsky-ImageSR-2.0). - Compatible FLUX.1 AutoencoderKL VAE: Apache-2.0 by Black Forest Labs (not bundled in these transformer files).
- Quantization codecs:
comfyui-native-quantizer(Apache-2.0).
Model tree for NidAll/Kandinsky-ImageSR-2.0-ComfyUI
Base model
kandinskylab/Kandinsky-ImageSR-2.0