mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-16 16:32:34 +08:00
24 lines
438 B
YAML
24 lines
438 B
YAML
# FLUX Quantization Config: Transformer Blocks Only
|
|
#
|
|
# Quantize only double and single transformer blocks,
|
|
# leave input/output projections in higher precision.
|
|
|
|
disable_list: [
|
|
# Disable input projections
|
|
"*img_in*",
|
|
"*txt_in*",
|
|
"*time_in*",
|
|
"*vector_in*",
|
|
"*guidance_in*",
|
|
|
|
# Disable output layers
|
|
"*final_layer*",
|
|
|
|
# Disable positional embeddings
|
|
"*pe_embedder*",
|
|
]
|
|
|
|
per_layer_dtype: {
|
|
"*": "float8_e4m3fn",
|
|
}
|