2024-01-02 13:28:29 -06:00
2024-01-02 11:09:49 -06:00
2023-12-26 22:24:27 -06:00
2023-12-26 22:24:27 -06:00
2024-01-02 11:48:17 -06:00
2023-12-26 22:24:27 -06:00
2024-01-02 11:48:17 -06:00
2024-01-02 13:28:29 -06:00

ComfyUI-DareMerge

Merge two checkpoint models by dare ties (https://github.com/yule-BUAA/MergeLM), sort of.

Node List

DareModelMerger

category node name input type output type desc.
merge DareModelMerger MODEL, MODEL, MODEL MODEL Performs a DARE block merge
merge MagnitudePruningModelMerger MODEL, MODEL MODEL Performs a MP block merge
  • In general, one means keep first model, zero means keep second model
  • For Dare, we use the base model to determine which values to protect or include.
  • Larger sparsity means to discard more of the second model
  • input, middle, and out are the block region weights.
  • threshold_type is the way we determine where our threshold lies in our distribution since we use chunks, quantile will err towards the sparsity, median will use the chunk median.
  • invert is whether we invert the threshold, so we keep the weights that are below the threshold instead of above.
S
Description
No description provided
Readme GPL-3.0
3.8 MiB
Languages
Python 100%