PM LoRA Merger (Mergekit)
PM LoRA Merger (Mergekit)
Core LoRA merger using Mergekit algorithms. Merges decomposed LoRA components using the selected merge method (TIES, DARE, SLERP, etc.). Processes layers in parallel using ThreadPoolExecutor for performance. Inputs: - method: Merge algorithm configuration from method nodes - components: Decomposed LoRA tensors from LoRA Decompose node - strengths: Per-LoRA weight multipliers (strength_model for UNet, strength_clip for CLIP) - lambda_: Global scaling factor applied to final merged result (0-1) - merge_clip: Whether to include CLIP layers in the merge (default: True) Outputs: - LoRABundle: Merged LoRA ready for application or saving - MergeContext: Reusable merge configuration for batch operations
Pack: LoRA Power-Merger ComfyUI
custom_nodes.LoRA-Merger-ComfyUI
Inputs (8)
| Name | Type | Required |
|---|---|---|
| method | MergeMethod | required |
| components | LoRATensors | required |
| strengths | LoRAWeights | required |
| lambda_ | FLOAT | required |
| spectral_norm_scale | FLOAT | required |
| merge_clip | BOOLEAN | required |
| device | COMBO | required |
| dtype | COMBO | required |
Outputs (2)
| Name | Type |
|---|---|
| lora | LoRABundle |
| merge_context | MergeContext |