Nodes/ComfyUI-YogurtNodes/LoRA Layers Operation (Yogurt Nodes)
ComfyUI Node

LoRA Layers Operation (Yogurt Nodes)

Modify only selected LoRA layers by index.

By yogurt7771·Created 2 years ago·Updated 2 months ago· 0
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)

NameTypeDefaultDescription
loraLORAThe LoRA object to modify.
layer_patternSTRING.*transformer_blocks\.(\d+)\.Regex used to detect a layer index. Group 1 should capture the index.
layer_indicesSTRING59Comma/range format, e.g. 0,1,2 or 10-15.
scale_factorFLOAT1.00-10–10Scale selected layers. Use 0 to zero-out selected layers.

Outputs (2)

NameTypeDescription
modified_loraLORA
modified_keys_countINT