Stabhappy/kroma-v0.2-base-INT8-convrot
INT8 ConvRot quantized weights for Kroma v0.2 base (lodestones/Kroma, Krea 2 / K2 DiT architecture), for fast, low-VRAM inference in ComfyUI via the native INT8 loader.
Quantized derivative of
kroma-v0.2-base.safetensors. Not an official Krea/Kroma release. Original weights Β© their respective owners under the Krea 2 Community License.
File
| File | Precision | Size | SHA256 |
|---|---|---|---|
kroma-v0.2-base-int8convrot.safetensors |
INT8 ConvRot | 14.8 GB (14,821,911,376 B) | 2b6f0b89291cfd9d4c121c5c169d30ba3e57a16f5760c60b9c3f4a1ebc6b441a |
Original kroma-v0.2-base.safetensors is 51.3 GB (51,280,336,920 B), F32, 430 tensors, Krea 2 DiT (hidden 6144). ~3.5Γ reduction.
Quantization method
- Format: INT8 ConvRot β row-wise INT8 weights with group-wise Hadamard rotation (group size 256) applied to smooth activation outliers before quantization. Targets near-lossless quality (β GGUF-Q8 class).
- Optimization: SVD learned rounding + bias correction (calibration samples: 3072, tool default).
- Output: native ComfyUI INT8 β
comfy_quantmetadata embedded per-layer. Loads with the standard model loader, no custom node required. - Inference compute: INT8 tensor cores (
torch._int_mm) + Triton kernels.
Command
ctq -i kroma-v0.2-base.safetensors \
-o kroma-v0.2-base-int8convrot.safetensors \
--int8 --scaling_mode row --convrot \
--comfy_quant --save-quant-metadata \
--krea2 --low-memory
Tool: silveroxides/convert_to_quant v1.3.1 (ctq). Environment: PyTorch 2.13.0+cu130, Triton 3.7.1, Python 3.13.
Layer strategy (Krea 2 profile, --krea2)
- INT8-quantized: the 28 main DiT blocks (
blocks.0β27) β attention (wq/wk/wv/wo/gate) and MLP (gate/up/down). - Kept high-precision (F32):
first,last(incl. norm/linear/modulation),tmlp,tproj,txtfusion(layerwise + refiner blocks),txtmlpβ the outlier-sensitive embedding / time / text-fusion layers.
Requirements
- ComfyUI with native INT8 support (Comfy-Org commit
1a510f04or recent release). - NVIDIA GPU with sufficient INT8 TOPS β RTX 30-series and up.
- Text encoder:
qwen3vl_4b_fp8_scaled.safetensorsβmodels/text_encoders/ - VAE:
qwen_image_vae.safetensors(Qwen VAE) βmodels/vae/ - Triton installed in the ComfyUI environment.
Usage
Load kroma-v0.2-base-int8convrot.safetensors with the standard model loader and run the normal Kroma graph (CLIPLoader β CLIPTextEncode β KSampler β VAEDecode).
Notes
- This file is the DiT transformer only; text encoder and VAE load separately as above.
- LoRA: works via the standard loader. For best LoRA quality, merge the LoRA into the base before quantizing (pre-lora) rather than stacking onto the INT8 weights.
- ConvRot = a QuaRot-derived plug-and-play rotation; small inference overhead in exchange for a quality gain over plain row-wise INT8.
- Retains the original model's license and attribution requirements; disclose AI-generated outputs where required.
Credits
lodestones/Kroma (base model) Β· silveroxides/convert_to_quant (INT8 ConvRot method & ctq tool) Β· BobJohnson24/ComfyUI-INT8-Fast (ConvRot lineage).
Model tree for Stabhappy/kroma-v0.2-base-INT8-convrot
Base model
lodestones/Kroma