Kandinsky-ImageSR-2.0 β Native ComfyUI Checkpoints (BF16 / INT8 ConvRot / W4A8)
Single-file native ComfyUI checkpoints converted from kandinskylab/Kandinsky-ImageSR-2.0 (revision: 7d5b5ed7def0b45b98f398c0b295a6b1658863db) for use with ComfyUI-Kandinsky-ImageSR2 and comfy-kitchen.
What Was Optimized (Zero Quality Loss on Architecture)
- Bit-exact 40Γ FP32
visual_modulationfolding (2.36 GB -> 58.8 MB): Pre-evaluates the 50 FP32 modulation projections over the 19 fixedtime_embed_tablerows and drops the 786 MB of unused cross-attention modulation weights. - 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.73 GB | 0.00862 (max 0.00956) | 616d7ce94cf01a53... |
Best quality/speed balance across Turing/Ampere/Ada/Hopper/Blackwell/ROCm |
kandinsky-imagesr-2.0-w4a8.safetensors |
W4A8 (G=16, ConvRot-256) | 2.13 GB | 0.07304 (max 0.07315) | 5a2f4c0dd1d3a779... |
Ultra-low VRAM: fits 100% resident in 4 GB VRAM GPUs |
kandinsky-imagesr-2.0-bf16.safetensors |
BF16 (Folded + Fused-QKV) | 7.39 GB | 0.0 (lossless) | c7c3431c6d6e7123... |
Lossless reference (2.31 GB smaller than original HF shards) |
Usage in ComfyUI
- Install the
ComfyUI-Kandinsky-ImageSR2custom node pack (requires ComfyUI withcomfy-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