Kandinsky ImageSR 2.0 by kandinskylab is an outstanding image upscaler. A one-step diffusion model, it enhances a picture at its own size (×1) or upscales it ×2 and ×4, and redraws what a small or soft picture has lost (skin, hair, fur, foliage, brick, fabric) convincingly, in a single transformer pass per tile, deterministic and openly licensed (MIT). All the credit for what this model can do goes to kandinskylab: the architecture, the training, the data and the pipeline are theirs, and everything that follows is built on their work.
This model, here, only makes it lighter. Kandinsky-ImageSR-2.0-Prune-2.7B is kandinskylab's upscaler, pruned and healed. 44% less GPU memory for the weights (4.45 vs 8.01 GB), a 32% faster transformer (16% faster per picture), slightly more fine detail at ×2 and ×4 at the same fidelity (within 0.3 dB), with ComfyUI nodes for PyTorch and Apple MLX.
- What was cut. In all 50 transformer blocks: 8 of the 20 attention heads (128 channels each) and half of the feed-forward units (10,240 → 5,120). Nothing else: the patch embedding, the output layer, the per-timestep tables and the FLUX.1 VAE are the original's, unchanged. The blocks' attention and feed-forward go from 3.93 B to 2.10 B weights.
- How the cut was chosen. By measurement on real input tiles: how much removing each head and each feed-forward unit changes the model's prediction (second-order importance), keeping those that matter most and refitting the weights right after them to carry what the removed ones did. Narrowing every block kept far more of the model than removing whole blocks.
- How it was healed. By distillation from the original: the pruned model learned to match the original's prediction, the states inside its blocks, and the amount of fine texture in every 64 px patch, on 11,498 tiles (10,000 FLUX.1 renders and the 800 DIV2K photos) at ×2 and ×4. 2,381 steps of 12 tiles (28,572 tiles), about five hours on one NVIDIA H200. The texture term is what keeps the pruned model from going soft.
- The result. On 16 test scenes it matches the original's fidelity to real pictures (within 0.3 dB PSNR at ×4) and draws at least as much of their fine detail as the official model, at ×1, and more at ×2 and ×4, with 0.56× the transformer's memory and 0.68× its time.
A pruned model is not a standard checkpoint. Its narrower blocks do not fit loaders made for the official model's shapes, so in ComfyUI it needs custom nodes, and they are provided in the repository for both runtimes: PyTorch (NVIDIA, Apple MPS, CPU) and Apple MLX, each with a ready-made workflow, in comfyui/ and also part of LVNodes. See Using it in ComfyUI.
Workflows, ComfyUI Nodes, Examples and more details at the project repo: https://huggingface.co/lvladikov/Kandinsky-ImageSR-2.0-Prune-2.7B
--
30 Nov 2026 - IMPORTANT UPDATE - Added int8 version and its workflow; node updates (about 2× faster on recent ComfyUI)
- New:
kandinsky_imagesr_2.0_2.7B_int8_convrot.safetensors (2.2 GB). The 2.7B with its 300 block layers in int8 (Comfy-Org's int8_convrot format), for GPUs with less VRAM. It uses about 2 GB less GPU memory. On ComfyUI v0.27 or later it runs on ComfyUI's own int8 kernels: about 1.2× faster per tile on an RTX 4090, and about 3× with ComfyUI limited to 8 GB of VRAM. Its pictures are within 48–60 dB PSNR of the full file's. - New workflow:
comfyui/kandinsky_imagesr_2.7B_upscale_image_int8.json, which offers the int8 download. comfyui/ComfyUI-Kandinsky-ImageSR (PyTorch): reads the int8 file. About twice as fast on ComfyUI v0.16 or later, with the same output. Works on ComfyUI releases older than v0.18, and prints the time per tile and the memory used.comfyui/ComfyUI-Kandinsky-ImageSR-MLX: loads the int8 file too. On a Mac it runs at the full file's speed, so the full file is still the one to use there.- README and detailed card: a new "The int8 version" section (the format, the RTX 4090 measurements, why not fp8), an update note for existing users, and the new files.
Already using the nodes? Copy the two comfyui/ node folders again.