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

PM KArcher (Mergekit)

KArcher Concept: Computes the Karcher mean (also known as the Riemannian barycenter or Fréchet mean) of the input model parameters. This provides a geometrically sound way to average points on a manifold, which is suitable for model weights. Use Cases: Finding a "central" or "average" model among a set of diverse models in a way that respects the geometry of the weight space More robust averaging than simple linear averaging, especially for models far apart in weight space Inputs: Takes 2 or more models. No base_model is used. Key Parameters: max_iter (global): Maximum iterations for the Karcher mean algorithm. Default 10 tol (global): Convergence tolerance. Default 0.5

By larsupb·Created 2 years ago·Updated 9 days ago· 75
PM KArcher (Mergekit)
    • MergeMethod
    max_iter10
    tol0.50
    CategoryLoRA PowerMerge/Spherical Interpolation Methods

    Inputs (2)

    NameTypeDefaultDescription
    max_iterINT101–100Maximum iterations for the KArcher mean algorithm. Default 10
    tolFLOAT0.500–1Convergence tolerance for the KArcher mean algorithm. Default 1e-5

    Outputs (1)

    NameTypeDescription
    MergeMethodMergeMethod