Bedovyy/Anima-INT8
528k
Int8 Quantized model of ANIMA
<Gallery />
Notice
ComfyUI has native INT8 support as of commit 1a510f0, but it currently rejects the int8_rowwise format and offers no real speedup over BF16. I have updated (int8rowwise](anima-base-v1.0-int8rowwise.safetensors) model for ComfyUI native support. If you need better quality (but slower), please use the int8convrot model.
Generation Speed
Test Environment
- ComfyUI commit 264b003
- ComfyUI-INT8-Fast commit 7ff676c
- use
--fast fp16_accumulation fp8_matrix_mult cublas_ops --use-sage-attention --disable-dynamic-vramoptions - Tested on 18/05/26
No LoRA
832×1216 · er_sde simple · CFG 5.0 · 30 steps · No LoRA
Hires LoRA
832×1216 · er_sde simple · CFG 5.0 · 30 steps · Hires LoRA
Turbo LoRA
832×1216 · er_sde simple · CFG 1.0 · 10 steps · Turbo LoRA
Δ it/s = (INT8 − BF16) / BF16 × 100 · Δ Time = (BF16 − INT8) / BF16 × 100 · positive = INT8 faster
How to use
- Cloning ComfyUI-INT8-Fast to
custom_nodesdirectory. - Recommend to run ComfyUI with
--disable-dynamic-vramoption. - Use
Load Diffusion Model INT8 (W8A8)node to model loading and seton_the_fly_qunatizationto False (default).
- Recommend to use "Stochastic" for lora.
Quantized layers
INT8Tensorwise
{
"format": "comfy_quant",
"block_names": ["net.blocks."],
"rules": [
{ "policy": "keep", "match": ["blocks.0", "adaln_modulation", ".mlp.layer2"] },
{ "policy": "int8_tensorwise", "match": ["q_proj", "k_proj", "v_proj", "output_proj", ".mlp"] }
]
}INT8Rowwise
{
"format": "comfy_quant",
"block_names": ["net.blocks."],
"rules": [
{ "policy": "keep", "match": [
"blocks.0.", "blocks.27.", "adaln_modulation",
".0.mlp", ".1.mlp", ".2.mlp", ".3.mlp"
]},
{ "policy": "int8_rowwise", "match": ["q_proj", "k_proj", "v_proj", "output_proj", ".mlp"] }
]
}