ComfyUI Node
Lora Add
Combine two LoRAs with different ranks via SVD-based rank alignment. This allows merging LoRAs with different ranks.
Lora Add
- loraA
- loraB
- merged_lora
◄alpha_a1.00►
◄alpha_b1.00►
◄target_rank-1►
CategoryLoraUtils
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| loraA | LORA | Lora A to add. | |
| loraB | LORA | Lora B to add. | |
| alpha_a | FLOAT | 1.00-10–10 | Weight for LoRA A. |
| alpha_b | FLOAT | 1.00-10–10 | Weight for LoRA B. |
| target_rank | INT | -1-1–1024 | Target rank for merged LoRA. Use -1 to automatically determine based on minimum rank. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| merged_lora | LORA | — |