Extensions/ComfyUI-LoRA-Block-Filter
ComfyUI Extension

ComfyUI-LoRA-Block-Filter

Per-block and per-layer-type LoRA filtering for Anima and Flux models in ComfyUI.

By DanrisiUA·Created 4 months ago·Updated 2 months ago· 33
DanrisiUA/ComfyUI-LoRA-Block-Filter
Nodes6
On cloudLocal install
CategorySmart LoRA
Stars33
Updated2 months ago
Readme

LoRA Block Filter — ComfyUI Custom Nodes

Per-block and per-layer-type LoRA filtering for Anima and Flux models in ComfyUI.

Nodes

Anima LoRA Block Weight

Configures block weights for Anima (28 blocks, 6 layer types: self_attn, cross_attn, mlp, adaln_self_attn, adaln_cross_attn, adaln_mlp).

Presets: all_enabled, character_detail, no_style_leak, face_focused, style_transfer, attn_only, mlp_only, custom.

Anima LoRA Filter (Blocks)

Loads a single LoRA with Anima block-weight filtering. Select LoRA from dropdown, connect block weights, get filtered model/clip output. Chain multiple nodes for multiple LoRAs with individual presets.

Flux LoRA Block Weight

Configures block weights for Flux (8 double blocks, 24 single blocks, 5 layer types: img_attn, img_mlp, txt_attn, txt_mlp, single_linear).

Presets: all_enabled, character_detail, no_style_leak, face_focused, style_transfer, double_only, single_only, img_only, txt_only, custom.

Flux LoRA Filter (Blocks)

Loads a single LoRA with Flux block-weight filtering. Same workflow as Anima filter but for Flux architecture.

Workflow

[Block Weight] → block_weights → [LoRA Filter] → model/clip → ...
                                  ↑ lora_name (dropdown)
                                  ↑ model/clip (from checkpoint or previous filter)

Installation

Copy this folder into ComfyUI/custom_nodes/:

ComfyUI/custom_nodes/smart_lora_loaders/

Restart ComfyUI. Nodes appear under Smart LoRA category.