Kandinsky ImageSR 2.0 Pruned to 2.7B for 8 GB GPUs

ComfyUI Wikinews

A community prune of Kandinsky ImageSR 2.0: 2.7B weights at 4.45 GB, an int8 file that fits 8 GB GPUs, ComfyUI nodes for PyTorch and Apple MLX, and about half a second per tile.

lvladikov/Kandinsky-ImageSR-2.0-Prune-2.7B is a community prune of Kandinsky ImageSR 2.0: 2.7B weights instead of 4.5B, 4.45 GB in VRAM instead of 8.01 GB, and an int8 file (2.17 GB) that fits 8 GB cards. ComfyUI nodes for PyTorch and Apple MLX are included, with ready-made workflows.

What got smaller

All 50 transformer blocks keep 12 of their 20 attention heads and half of the feed-forward layer. The pruned model was then distilled from the original on 11,498 tiles, about five hours on one H200, to draw back the detail it lost.

official2.7B prune
weights in VRAM (bf16)8.01 GB4.45 GB
transformer, one 1024 px tile0.144 s0.098 s
2048² → 8192² (x4, 121 tiles)34.11 s28.57 s
fine detail, x1 / x2 / x41.000.97 / 1.05 / 1.09

Timings are the author's, on one H200 with the same ComfyUI node code. The whole upscale gains less than the transformer because the FLUX.1 VAE, shared by both models, takes about half of every tile.

Output is not pixel-identical to the official model: 30.7 dB at x2 and 27.7 dB at x4 against it, with the same brightness. Where the source barely resolves a feature, the two draw different amounts of it.

Official ImageSR 2.02.7B prune
Official ImageSR 2.0, 2048² → 8192² x4Same crop from the 2.7B prune
x4 eyex4 spider web
x4, 1440 x 1280 → 5760 x 5120, 1:1 cropx4, 2048² → 8192², 1:1 crop

Which file to download

GPUfile
8 GB (RTX 3060 Ti, 3070, 4060)int8: the full file and the VAE do not fit together
10–12 GB (RTX 3080, 3060 12 GB, 4070)int8, especially beside other models in the same workflow
16 GB and upeither: int8 is about 1.2x faster per tile on an RTX 4090
Apple Siliconthe full file: Macs have no int8 path, the int8 file runs at full-file speed

kandinsky_imagesr_2.0_2.7B.safetensors is 4.26 GB, kandinsky_imagesr_2.0_2.7B_int8_convrot.safetensors is 2.17 GB. On a 4090 the int8 file holds 5.5 GiB during a run against 7.4 GiB for the full one, at 0.41 s per tile instead of 0.48 s. The fast path needs ComfyUI v0.27 or newer; on older builds the int8 file keeps the memory saving but not the speed.

Running it in ComfyUI

  1. Put the transformer in ComfyUI/models/diffusion_models/.
  2. Put FLUX.1's ae.safetensors in ComfyUI/models/vae/. The workflow offers the Comfy-Org copy in its missing-models dialog if you do not have it.
  3. Copy comfyui/ComfyUI-Kandinsky-ImageSR/ into ComfyUI/custom_nodes/ (the MLX node set lives inside LVNodes).
  4. Load one of the workflows below.

The pruned shapes do not fit loaders built for the official checkpoint, so the custom nodes are required: the stock upscale nodes will not open this file.

As of 2026-12-04 the repository has 40 likes and 8,091 downloads.

Kandinsky-ImageSR-2.0-Prune-2.7B on Hugging Face
View
Original Kandinsky ImageSR 2.0 weights
View

Comments

Sign in with GitHub to join the discussion.

Loading comments…
Kandinsky ImageSR 2.0 Pruned to 2.7B for 8 GB GPUs | ComfyUI Wiki