Kandinsky ImageSR 2.0 β Rebel AI Quants
Low-VRAM GGUF and mixed-precision Safetensors quantizations of Kandinsky ImageSR 2.0, designed to make high-quality image super-resolution more accessible on consumer-grade hardware through ComfyUI.
About the Model
Kandinsky ImageSR 2.0 is a diffusion-based image super-resolution model supporting both 2x and 4x upscaling using a single transformer checkpoint.
Key Features
- 2x and 4x image upscaling
- Single-step inference
- Adjustable creativity and detail restoration
- Precomputed conditioning without a separate text encoder
- Tiled processing for high-resolution images
- FLUX.1 VAE compatibility
- Multiple quantization formats for different memory budgets
Original model: kandinskylab/Kandinsky-ImageSR-2.0
Quantization Formats
GGUF
| Quantization | Description |
|---|---|
| Q2_K | Maximum weight compression |
| Q3_K_S | Low-memory alternative |
| Q4_K_S | Compact 4-bit quantization |
| Q4_K_M | Balanced quality and memory usage |
| Q5_K_S | Higher-precision intermediate option |
| Q5_K_M | Improved weight precision |
| Q6_K | High-fidelity quantization |
| Q8_0 | Highest-precision GGUF option in this collection |
Native Safetensors
| Quantization | Description |
|---|---|
| INT8 ConvRot | 8-bit convolution-rotation quantization |
| W6A8 GS32 | 6-bit weights, 8-bit activations, group size 32 |
| W4A8 GS16 | 4-bit weights, 8-bit activations, group size 16 |
Quantization Methodology
All quantizations were developed from a native-format BF16 transformer checkpoint rather than independently quantizing the original Diffusers shards.
The conversion and quantization process includes:
- Native transformer weight conversion
- Fused QKV attention projections
- Precomputed modulation folding
- Selective quantization of 200 transformer weight matrices
- Approximately 3.93 billion parameters targeted for quantization
- Preservation of sensitive normalization layers, modulation tables, conditioning tables, and other critical components
The GGUF checkpoints additionally preserve the native tensor layout and architecture configuration metadata.
GGUF architecture identifier: kandinsky-imagesr2
The goal is to reduce transformer memory requirements while minimizing degradation to image structure, texture, and fine-detail restoration.
ComfyUI Installation
Required Custom Nodes
GGUF-compatible Kandinsky ImageSR 2.0 nodes:
https://github.com/RealRebelAI/ComfyUI-Kandinsky-ImageSR2_GGUF/tree/feature/gguf-support
This implementation extends NidAll's original custom nodes to support GGUF checkpoints directly within the existing Kandinsky model loader.
Install using the following command from your ComfyUI custom_nodes directory:
git clone -b feature/gguf-support https://github.com/RealRebelAI/ComfyUI-Kandinsky-ImageSR2_GGUF.git
ComfyUI-GGUF is also required for GGUF inference:
https://github.com/city96/ComfyUI-GGUF
Do not install both the original Kandinsky node pack and this modified fork simultaneously, as they register the same nodes.
Original Custom Nodes
For native Safetensors support, see NidAll's original implementation:
https://github.com/NidAll/ComfyUI-Kandinsky-ImageSR2
Model Placement
Place your chosen GGUF or Safetensors transformer checkpoint in:
ComfyUI/models/diffusion_models/
Place the FLUX.1 VAE in:
ComfyUI/models/vae/
Required VAE
Kandinsky ImageSR 2.0 uses the FLUX.1 VAE.
Download: FLUX.1 VAE β ae.safetensors
If you already have this VAE installed, you can reuse it.
No separate text encoder is required.
Workflow
Use the following nodes:
- Load Image
- Kandinsky ImageSR 2.0 Model
- Load VAE
- Kandinsky ImageSR 2.0 Upscale
- Save Image
Select your preferred quantization directly from the Kandinsky model loader.
Do not use the standard Unet Loader GGUF or KSampler for this model. Kandinsky ImageSR 2.0 uses a dedicated super-resolution inference pipeline.
Recommended Starting Settings
| Setting | Value |
|---|---|
| Compute dtype | Auto |
| Upscale factor | 2x or 4x |
| Creativity | 4 |
| Overlap | 0.25 |
| Tile batch size | 1 |
| One-step timestep | Auto |
| Fast GELU fusion | Disabled |
| Exact mode | Disabled |
| VAE decode mode | fast_pixel_blend |
For low-VRAM systems, start with a tile batch size of 1.
Lower creativity settings generally favor preservation of the original image, while higher settings allow more generative detail restoration.
Which Quantization Should I Choose?
- Q2_K / Q3_K_S: For particularly constrained memory budgets.
- Q4_K_M: Recommended GGUF starting point.
- Q5_K_M / Q6_K: When additional memory is available and detail preservation is a priority.
- Q8_0: When maximizing GGUF weight precision is preferred.
- W4A8: Aggressive native mixed-precision compression.
- W6A8: A balance between native mixed-precision compression and weight fidelity.
- INT8 ConvRot: A higher-precision native quantization alternative.
Actual memory usage and performance depend on GPU architecture, available system memory, input resolution, tiling, and the installed inference backend.
Compatibility and Development Status
These quantizations are developed with consumer-grade GPU accessibility in mind, including systems equipped with 8GB of VRAM.
The GGUF integration is currently experimental and is maintained through my modified version of the Kandinsky ImageSR 2.0 custom nodes. Compatibility with the final GGUF loader revision is still undergoing validation.
Quantization reduces model weight memory requirements, but total inference memory also includes activations, VAE processing, and image tiles.
Credits
- Kandinsky Lab β Original model architecture, weights, and research.
- NidAll β Original native ComfyUI implementation.
- City96 and contributors β ComfyUI-GGUF backend.
- Black Forest Labs β FLUX.1 VAE.
- Rebel AI β Native checkpoint conversion, GGUF quantization, mixed-precision quantization, and GGUF loader integration.
License
The original Kandinsky ImageSR 2.0 transformer is distributed under the MIT License.
The FLUX.1 VAE is distributed separately under Apache 2.0.
Support My Work
I develop quantizations and workflows focused on making advanced generative AI models accessible to users with consumer-grade hardware.
- YouTube: https://youtube.com/@realrebelai
- X / Twitter: https://x.com/realrebelai
- Hugging Face: https://huggingface.co/realrebelai
- GitHub: https://github.com/RealRebelAI
- Twitch: https://twitch.tv/realrebelai
Less VRAM. More possibilities.
β Rebel AI
- Downloads last month
- 310
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Model tree for realrebelai/KandinskyImageSR_GGUFs
Base model
kandinskylab/Kandinsky-ImageSR-2.0