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

By larsupb·Created 2 years ago·Updated 9 days ago· 75
PM SCE (Mergekit)
    • MergeMethod
    select_topk0.10
    CategoryLoRA PowerMerge/Task Arithmetic

    Inputs (1)

    NameTypeDefaultDescription
    select_topkFLOAT0.100–1Fraction of elements with the highest variance in the delta parameters to retain.

    Outputs (1)

    NameTypeDescription
    MergeMethodMergeMethod