ComfyUI Node
LoRA Layers Operation (Yogurt Nodes)
Modify only selected LoRA layers by index.
LoRA Layers Operation (Yogurt Nodes)
- lora
- modified_lora
- modified_keys_count
◄layer_pattern.*transformer_blocks\.(\d+)\.►
◄layer_indices59►
◄scale_factor1.00►
CategoryYogurtNodes/Models
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| lora | LORA | The LoRA object to modify. | |
| layer_pattern | STRING | .*transformer_blocks\.(\d+)\. | Regex used to detect a layer index. Group 1 should capture the index. |
| layer_indices | STRING | 59 | Comma/range format, e.g. 0,1,2 or 10-15. |
| scale_factor | FLOAT | 1.00-10–10 | Scale selected layers. Use 0 to zero-out selected layers. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| modified_lora | LORA | — |
| modified_keys_count | INT | — |