ComfyUI Node

LC Krea2 LoRA Merge

Merges two to four Krea 2 LoRAs with a per-block A / B curve (sum or TIES), applies the result to the model and outputs it for LC LoRA Save. The heatmaps show A's and B's share and the merged result.

By lonecatone23·Created 11 days ago·Updated 2 days ago· 1
LC Krea2 LoRA Merge
  • model
  • model
  • merged_lora
◄lora_a▾►
◄lora_b▾►
◄strength_a1.00►
◄strength_b1.00►
◄mix0.50►
◄methodsum►
◄presetBoth full►
◄blocks0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5►
◄ties_density0.50►
◄blocks_in—►
◄lora_cNone►
◄strength_c1.00►
◄lora_dNone►
◄strength_d1.00►
CategoryLC ModelBuilder/Krea2

Inputs (15)

NameTypeDefaultDescription
modelMODELKrea 2 model. The merged LoRA is applied to it, like a LoRA loader.
lora_aCOMBOLoRA A, from models/loras.
lora_bCOMBOLoRA B, from models/loras.
strength_aFLOAT1.00-4–4—
strength_bFLOAT1.00-4–4—
mixFLOAT0.500–1One slider for the whole merge, like a plain model merge: 0 = only LoRA A, 1 = only LoRA B. At 0.5 the bars apply as set; toward 0 B fades out everywhere, toward 1 A does.
methodCOMBOsumsum = the LoRAs added, exactly (fast). ties = keeps each LoRA's strongest changes and drops the ones that fight each other: for LoRAs that clash, e.g. two styles or two characters. Slower (works on every full layer).
presetCOMBOBoth fullPer block: 0 = only A, 0.5 = both at full strength, 1 = only B. Dragging the graph switches to Custom.
blocksSTRING0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.528 block values, 0 (A) to 1 (B). Drag the bars on the node.
ties_densityFLOAT0.500.05–1ties only: share of each LoRA's changes that is kept (its strongest). Lower = only the most important changes survive.
blocks_inoptSTRINGA 28-block curve from another node. When wired it replaces the preset and the bars.
lora_coptCOMBONoneOptional third LoRA, at strength_c in every block (not on the curve).
strength_coptFLOAT1.00-4–4—
lora_doptCOMBONoneOptional fourth LoRA, at strength_d in every block (not on the curve).
strength_doptFLOAT1.00-4–4—

Outputs (2)

NameTypeDescription
modelMODELThe model with the merged LoRA applied.
merged_loraLC_LORAThe merged LoRA, for LC LoRA Save.