ComfyUI Node
PM SCE (Mergekit)
SCE (Select, Calculate, Erase) adaptive merge method. Three-stage merge process: 1. SELECT: Variance-based masking - zeros out low-variance parameters (select_topk controls retention) 2. CALCULATE: Matrix-level weight computation for each LoRA 3. ERASE: Sign consensus algorithm (from TIES) to eliminate conflicting changes Best for: Merging models where different LoRAs contribute to different parameter matrices. Dynamically weights contributions based on variance and sign consensus. Parameters: - select_topk: Fraction of highest-variance elements to retain (0.1 = keep top 10%) Requires: 2+ LoRAs plus base model
PM SCE (Mergekit)
- MergeMethod
◄select_topk0.10►
CategoryLoRA PowerMerge/Task Arithmetic
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| select_topk | FLOAT | 0.100–1 | Fraction of elements with the highest variance in the delta parameters to retain. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MergeMethod | MergeMethod | — |