Nodes/LoRA Power-Merger ComfyUI/PM Dare (Mergekit)
ComfyUI Node

PM Dare (Mergekit)

Concept: Similar to TIES, DARE sparsifies task vectors to reduce interference. However, DARE uses random pruning with a novel rescaling technique to better match the performance of the original models. Variants: - dare_linear: DARE pruning without the TIES sign consensus - dare_ties: DARE pruning with the TIES sign consensus Use Cases: - Robustly combining multiple fine-tuned models, often yielding better performance than TIES in some scenarios - Inputs: Requires 2 or more models. Key Parameters: - weight (per-model): Weight for each model's task vector - density (per-model): Fraction of weights to retain after random pruning - lambda (global): As in Task Arithmetic - rescale (global, for dare_linear): If true (default), applies DARE's rescaling

By larsupb·Created 2 years ago·Updated 9 days ago· 75
PM Dare (Mergekit)
    • MergeMethod
    tiesfalse
    rescale_normdefault
    density0.85
    normalizetrue
    CategoryLoRA PowerMerge/Task Arithmetic

    Inputs (4)

    NameTypeDefaultDescription
    tiesBOOLEANfalseUse sign consensus algorithm of ties algorithm.
    rescale_normCOMBOdefaultRescaling strategy: • default: Auto-select (L1 for methods needing it, none otherwise) • l1: L1 norm preservation (precise, preserves magnitude sum) • l2: L2 norm preservation (precise, preserves Euclidean norm) • linf: L-infinity norm (preserves max absolute value, prevents amplification) • none: No rescaling (may reduce merge strength)
    densityFLOAT0.850–1Fraction of weights to retain after random pruning.
    normalizeBOOLEANtrueIf true, the weights of all models contributing to a tensor will be normalized. Default behavior.

    Outputs (1)

    NameTypeDescription
    MergeMethodMergeMethod