ComfyUI Node
Merge LoRAs to File (rholdorf)
Combine two LoRAs at fixed strengths into a single .safetensors by exact rank concatenation (ranks may differ). Reproduces applying both in sequence; use the merged file at strength 1.0. Standard LoRA (lora_up/lora_down) files only.
Merge LoRAs to File (rholdorf)
- path
- retained_energy
◄lora_name1▾►
◄strength10.50►
◄lora_name2▾►
◄strength20.50►
◄filename_prefixmerged_lora►
◄target_rank0►
Categoryrholdorf/lora
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| lora_name1 | COMBO | First LoRA to combine. | |
| strength1 | FLOAT | 0.50-100–100 | Strength baked in for the first LoRA (the value you'd set in Power Lora Loader). |
| lora_name2 | COMBO | Second LoRA to combine. | |
| strength2 | FLOAT | 0.50-100–100 | Strength baked in for the second LoRA. |
| filename_prefix | STRING | merged_lora | Output name (relative to the loras folder). '.safetensors' is added automatically. |
| target_rankopt | INT | 00–4096 | 0 = exact rank concatenation (rank = sum of both). A positive value recompresses the merged delta to that rank via truncated SVD (smaller file, approximate). E.g. 64 to match a rank-64 LoRA. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| path | STRING | — |
| retained_energy | STRING | — |