Kandinsky 6.0 VSR 2.0 (distilled, 2 steps) - bf16

This repository holds a bf16 repackage of kandinskylab/Kandinsky-6.0-VSR-2.0-distilled2steps-Diffusers. The weights are the original weights. Nothing is quantized. Each model is one file, in the folder layout of ComfyUI/models/. The config of each model is in the file header.

Component Size (bf16)
diffusion_models/Kandinsky6_VSR_2.0_distilled2steps_bf16.safetensors 3.19 GB
vae/Kandinsky6_VSR_2.0_KVAE_bf16.safetensors 6.96 GB
upscale_models/Kandinsky6_VSR_2.0_LatentUpscaler_bf16.safetensors 7.31 GB

Method

The converter did not change the weights. It only re-packed the files.

Files

File in this repository Put it in
diffusion_models/Kandinsky6_VSR_2.0_distilled2steps_bf16.safetensors ComfyUI/models/diffusion_models/
vae/Kandinsky6_VSR_2.0_KVAE_bf16.safetensors ComfyUI/models/vae/
upscale_models/Kandinsky6_VSR_2.0_LatentUpscaler_bf16.safetensors ComfyUI/models/upscale_models/

Use in ComfyUI

  1. Install the official node pack kandinsky6-sr. Use ComfyUI Manager (search for kandinsky6-sr), or follow the install steps in its README.
  2. Open a terminal in the folder ComfyUI/custom_nodes/.
  3. Run this command: git clone https://github.com/anr2me/kandinsky6-sr-int8-convrot.git
  4. Download the model files into the folder ComfyUI/models/. Use this command: hf download anr2me/Kandinsky-6.0-VSR-2.0-distilled2steps-Repackaged --include "diffusion_models/*" "vae/*" "upscale_models/*" --local-dir ComfyUI/models
  5. Restart ComfyUI.
  6. Use the node Load Diffusion Model for the transformer.
  7. Use the nodes Kandinsky6 SR VAE Loader (INT8 ConvRot) and Kandinsky6 SR Latent Upscaler Loader (INT8 ConvRot) for the other two models. The nodes with the name (INT8 ConvRot) also load bf16 files.

The official nodes alone cannot read these files. They need a folder with a config.json. The nodes of the node repository read the files in this repository, and they do not need a patch of the official nodes.

Config

Each file has its config in the safetensors header, under the key kandinsky6.component_config. This is the same key as in shadwosii/Kandinsky-6.0. The transformer file also has the key kandinsky6.scheduler_config. This second key is an addition of this repository. It holds the sampler settings that the official pack needs after the transformer load.

An external file next to a model file always has priority over the embedded config. The name is <file-name>.json. For the scheduler of the transformer, the name is <file-name>.scheduler.json. Use an external file to repair a bad embedded config. The node repository has the details.

Limits

  • The weights are the original weights. Only the file layout is different.
  • The original model is by Kandinsky Lab. It uses the MIT license, and this repository keeps the MIT license.
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for anr2me/Kandinsky-6.0-VSR-2.0-distilled2steps-Repackaged