Kandinsky-ImageSR-2.0-Prune-2.7B

The authors retained 12/20 attention heads and half of the feed-forward layers in each of all 50 transformer blocks of kandinskylab's Kandinsky ImageSR 2.0, then performed distillation "repair" using the original version as the teacher, preserving the original's ×1, ×2, and ×4 modes. On a single H200 GPU, the authors measured transformer weight VRAM at 4.45 GB (original: 8.01 GB), with per-block latency being 0.68 times that of the original. The PSNR across 16 test scenarios differed from the original by within 0.3 dB, with slightly more detail in the ×2 and ×4 modes. The pruned shape is incompatible with the official loader; the repository includes both PyTorch and Apple MLX ComfyUI nodes along with ready-made workflows, while the VAE continues to use the original FLUX.1.

The authors retained 12/20 attention heads and half of the feed-forward layers in each of all 50 transformer blocks of kandinskylab's Kandinsky ImageSR 2.0, then performed distillation "repair" using the original version as the teacher, preserving the original's ×1, ×2, and ×4 modes. On a single H200 GPU, the authors measured transformer weight VRAM at 4.45 GB (original: 8.01 GB), with per-block latency being 0.68 times that of the original. The PSNR across 16 test scenarios differed from the original by within 0.3 dB, with slightly more detail in the ×2 and ×4 modes. The pruned shape is incompatible with the official loader; the repository includes both PyTorch and Apple MLX ComfyUI nodes along with ready-made workflows, while the VAE continues to use the original FLUX.1.

Why It Matters The authors claim that weight VRAM and per-block latency are significantly lower than the original, without sacrificing detail; it includes both PyTorch and Apple MLX ComfyUI nodes and workflows.

Hugging Face Likes 7 · Hugging Face Trending Score 7 · Hugging Face Downloads 0

License: Commercial Use Allowed · ComfyUI: Nodes Included in Repository · VRAM: ≈6 GB (Estimated)

Reasons

  • The model card provides per-scenario comparison images against the official model and bicubic upscaling, along with measurement methods.
  • Based on the latest version from 11/28, under the MIT license; the PyTorch nodes do not require additional Python packages.

Usage

  • Place kandinsky_imagesr_2.0_2.7B.safetensors in ComfyUI/models/diffusion_models/, and place ae.safetensors from FLUX.1 in models/vae/; load the workflow from comfyui/ in the repository, set upscale_by to 1, 2, or 4, with creativity defaulting to 4 (higher values result in more regeneration); for ×8, chain ×4 and ×2.

Risks

  • The ComfyUI node code included in the repository has not been audited by us; please review the code yourself before installation.
  • The generated details are drawn by the model itself and differ pixel-wise from the official model's output; use the original version if you require exact consistency with the official model.
  • All measurement figures were self-tested by the authors on a single H200 GPU and have not been independently verified.

Open

抱脸 image-to-image 新模型

Explore the latest AI Radar updates