Views
No views yet
| File | Size | Use |
|---|---|---|
krea2_kroma-v0.2-base-int8_convrot.safetensors | 13.16 GB | Distilled-step base, fine-tuning / LoRA / research |
krea2_kroma-v0.2-turbo-int8_convrot.safetensors | 12.57 GB | 8-step distilled, fast text-to-image |
silveroxides/convert_to_quant
with the --scaling_mode row flag enabled (mandatory for ConvRot compatibility —
see Conversion below).--krea2 architecture profile
(sensitive layers: first, last, tmlp, txtfusion, last.modulation, tpro).comfy_quant JSON tensor:1{"format": "int8_tensorwise", "orig_dtype": "torch.bfloat16",
2 "convrot": true, "convrot_groupsize": 256, "per_row": true}weight_scale tensors have shape (N, 1) (per output channel), not () (scalar) —
this is what makes LoRAs work correctly when applied at runtime.ComfyUI-INT8-Fast (Bob Johnson) for explicit LoRA-mode controlqwen3vl_4b_fp8_scaled.safetensors → ComfyUI/models/text_encoders/
(from Comfy-Org/Qwen3-VL)qwen_image_vae.safetensors → ComfyUI/models/vae/
(from Comfy-Org/Qwen-Image_ComfyUI).safetensors files into ComfyUI/models/diffusion_models/ and use
the standard Load Diffusion Model node (or OTUNetLoaderW8A8 from
ComfyUI-INT8-Fast for explicit LoRA-mode control):1# Standard native loader (ComfyUI ≥ 0.27.0) — just select the file
2# No special nodes, no extra modeseuler / simple, shift 1.15 (model default)euler / simpleLoad LoRA INT8 lora_mode to Stochastic (not None)
for the best quality. The None mode uses normal round-to-nearest which loses
~10-20% of the LoRA effect.krea2_turbo_lora_rank_64_bf16.safetensors) is bundled in this repo at
loras/krea2_turbo_lora_rank_64_bf16.safetensors (447.7 MB, rank 64, BF16).
Matches 535/535 Kroma layer targets after stripping the diffusion_model.
prefix — works directly on the quantized models in this repo.67751d8). Bundled here for convenience
so the whole pipeline (Base + INT8 + LoRA) loads from one source.loras/ into ComfyUI/models/loras/krea2_kroma-v0.2-base-int8_convrot.safetensors (or the BF16 original)Load LoRA (native ComfyUI) or Load LoRA INT8 with
lora_mode: Stochastic (recommended for INT8 ConvRot)ctq CLI). The crucial flag is --scaling_mode row — without it, the
resulting file has tensorwise (scalar) scales and missing convrot/per_row
metadata, which makes LoRAs fail at runtime.1ctq -i krea2_kroma-v0.2-base.safetensors \
2 -o krea2_kroma-v0.2-base-int8_convrot.safetensors \
3 --int8 --convrot --convrot-group-size 256 \
4 --scaling_mode row \
5 --comfy_quant --save-quant-metadata --krea2 \
6 --simple --low-memory --device cuda1python -m venv venv-ctq
2venv-ctq\Scripts\python.exe -m pip install -U pip wheel
3venv-ctq\Scripts\python.exe -m pip install \
4 torch==2.11.0+cu128 \
5 --index-url https://download.pytorch.org/whl/cu128
6venv-ctq\Scripts\python.exe -m pip install \
7 triton-windows convert-to-quant safetensors tqdm click rich pyyaml scipytriton-windows on Windows, triton on Linux1from safetensors import safe_open
2import json
3
4with safe_open("krea2_kroma-v0.2-base-int8_convrot.safetensors", framework="pt") as f:
5 k = [k for k in f.keys() if "blocks.0.attn.gate.comfy_quant" in k][0]
6 raw = f.get_tensor(k).tolist()
7 parsed = json.loads(bytes(raw))
8 print(parsed)
9 # Expected: {"format": "int8_tensorwise", "orig_dtype": "torch.bfloat16",
10 # "convrot": True, "convrot_groupsize": 256, "per_row": True}{"format": "int8_tensorwise", "orig_dtype": "torch.bfloat16"} without
the three ConvRot keys, you forgot --scaling_mode row — the file will load
but LoRAs will not work as expected.lodestones/Kroma, which is
governed by the krea-2-community-license (see the upstream repo). This
license does not grant rights to the underlying Krea 2 base weights. By
downloading these files you agree to abide by the upstream license terms.lodestones/Kroma
(Kroma 0.2 — a Krea 2 style fine-tune)silveroxides/convert_to_quant