Kandinsky ImageSR logoKandinsky ImageSR
Back to blog

Running Kandinsky ImageSR 2.0 on 8GB-24GB GPUs: ComfyUI, Pruned 2.7B, Quantization, and Cloud API

Dec 3, 2026Kandinsky ImageSR Team

A practical breakdown of every way to run Kandinsky ImageSR 2.0 today: official Diffusers BF16, ComfyUI custom nodes, the pruned 2.7B variant for 8GB GPUs, INT8/GGUF checkpoints, and hosted A10G API.

Running Kandinsky ImageSR 2.0 on 8GB-24GB GPUs: ComfyUI, Pruned 2.7B, Quantization, and Cloud API

Right after Kandinsky Lab open-sourced Kandinsky ImageSR 2.0 under the MIT license (with a bundled Apache-2.0 FLUX.1-schnell VAE), the #1 question across r/StableDiffusion, r/comfyui, and GitHub became practical hardware reality: how much VRAM does it actually take, and can an 8GB or 12GB consumer GPU run it without Out-of-Memory (OOM) crashes?

The full ~5B diffusion transformer in bfloat16 needs roughly 8 GB of VRAM for model weights alone, before counting VAE decoding and high-resolution tile activations. Because of that bottleneck, the open-source ecosystem moved fast and split into four distinct ways to run the model. Here is an honest look at every option, its trade-offs, and a live full-BF16 generator you can test right in this page.

Four Ways to Run Kandinsky ImageSR 2.0

OptionKey Package / RepoVRAM FootprintPros and Trade-Offs
1. Official Diffusers (Full BF16)kandinskylab/kandinsky-image-sr~8 GB weights; 16-24 GB recommended for smooth 4K tilingReference unpruned quality, MIT + Apache-2.0 license, clean Python pipeline. Heavy for 8-12 GB cards.
2. ComfyUI Official Registrycomfy node registry-install kandinsky-imagesrDepends on checkpoint + VAE tile settingsDrops directly into existing ComfyUI graphs with tiling and batch control.
3. Pruned 2.7B Variantlvladikov/Kandinsky-ImageSR-2.0-Prune-2.7B~4.45 GB transformer weights (~44% less VRAM); runnable on 8 GB cards with VAE tiling~32% faster transformer pass and fits 8 GB GPUs. Pruned capacity can trade off subtle detail compared to full 5B BF16 on complex textures.
4. Quantized Single-File (INT8 / W4A8 / GGUF)NidAll/Kandinsky-ImageSR-2.0-ComfyUI & GGUF buildsLower weight footprint (INT8 ConvRot, W4A8, GGUF)Single-file .safetensors convenience in ComfyUI; lower precision can introduce minor softening on extreme micro-textures.
5. Hosted Online Studio & REST APIFull unpruned BF16 on dedicated A10G GPU0 GB local VRAMZero local installs, full unpruned 5B BF16 output up to 8192px, HTTPS API for apps. Costs credits or per-image unlock.

Test Full Unpruned BF16 Online Before Tuning Local Nodes

Before spending an evening debugging CUDA versions, ComfyUI custom nodes, or VAE tile sizes, you can run a real image through the full unpruned BF16 weights right here to see the baseline quality ceiling of Kandinsky ImageSR 2.0.

LIVE INTERACTIVE GENERATOR · FULL BF16

Run Full Unpruned BF16 Kandinsky ImageSR 2.0 in Your Browser

Zero GPU setup required. Inspect your watermarked 1x/2x/4x result free on an A10G GPU, and compare it directly against local pruned or quantized workflows.

Free preview · No sign-in

Drop an image here or click to browse

PNG, JPG, or WebP up to 12 MB

Try sample:
2. Upscale FactorFree preview / $3.99 unlock
4 / 8
0 FaithfulBalanced clarity and texture8 Expressive
Format

No account needed. Inspect your watermarked preview free, then unlock clean HD only if you love it.

By uploading, you agree to our Terms and Privacy Policy. Violent, pornographic, or illegal content is strictly prohibited.

Inspection Viewport288x215 -> 1152x860 (4x)
Drag divider to inspect 4x detail
4x upscaled mechanical watch after Kandinsky ImageSR 2.0
Low resolution mechanical watch before Kandinsky ImageSR 2.0
Before 288pxImageSR 2.0 4x 1152px

Real 4x output rendered live with Kandinsky ImageSR 2.0. Upload your photo or pick a sample on the left.

Option A: Official Python / Diffusers Setup

If you have a 16 GB or 24 GB CUDA GPU and want the official reference implementation from kandinskylab/kandinsky-image-sr, the minimal Python snippet looks like this:

import torch
from kandinsky_image_sr import KandinskyImageSRPipeline

pipe = KandinskyImageSRPipeline.from_pretrained(
    "kandinskylab/Kandinsky-ImageSR-2.0",
    dtype=torch.bfloat16,
).to("cuda")

image = pipe(
    "input.png",
    upscale_factor=4,  # 1, 2, or 4
    creativity=4,      # 0 to 8
).images[0]
image.save("output_4x.png")

Option B: Surviving on an 8GB GPU in ComfyUI

Community threads on r/StableDiffusion and r/comfyui have converged on three essential steps to avoid OOM errors on 8 GB cards:

  1. Start with a lighter weight variant: Use either the community pruned 2.7B weights (lvladikov/Kandinsky-ImageSR-2.0-Prune-2.7B, cutting transformer weight VRAM by ~44% down to ~4.45 GB) or quantized INT8 ConvRot / W4A8 / GGUF checkpoints from NidAll/Kandinsky-ImageSR-2.0-ComfyUI.
  2. Always enable VAE tiling: Even if the transformer fits in 8 GB, decoding a 4K image in one VAE pass will immediately trigger an OOM crash. Tiled VAE decoding is mandatory on 8 GB and 12 GB GPUs.
  3. Keep tile overlap at 0.25 or higher: Dropping overlap to 0 speeds up rendering slightly but frequently leaves visible grid lines across skies, studio gradients, and skin. Keeping overlap between 0.25 and 0.5 blends tile seams cleanly.

Option C: Calling the Hosted REST API in Production

If you are building an e-commerce catalog pipeline, mobile app, or SaaS feature, self-hosting a 5B diffusion model means managing GPU cold pools, CUDA images, and tiling memory spikes. Calling our hosted /api/v1/upscale endpoint runs full BF16 Kandinsky ImageSR 2.0 over standard HTTPS:

curl -X POST "https://kandinsky-imagesr.com/api/v1/upscale" \
  -H "Authorization: Bearer sk_your_api_key" \
  -F "file=@photo.jpg" \
  -F "upscale_factor=4" \
  -F "creativity=4" \
  -F "overlap=0.25" \
  -F "output_format=png" \
  -o photo_4x.png

Warm GPU requests complete in 1.5 to 4 seconds (set a 120-second timeout to safely cover serverless cold starts and 8K tiling). See the full API Reference for JSON/base64 and URL payload examples.

Which Path Should You Choose?

  • You own a 16GB-24GB GPU and process hundreds of private images locally: Install the official ComfyUI node (kandinsky-imagesr) or Diffusers pipeline with full BF16 weights.
  • You have an 8GB-12GB GPU and want free local experimentation: Pair ComfyUI with VAE tiling and the pruned 2.7B or INT8/GGUF checkpoint.
  • You want full unpruned BF16 quality with zero setup, or need a reliable HTTPS endpoint for an app: Use the online workbench above or integrate the Kandinsky ImageSR 2.0 REST API.