ogkalu2 / Merge-Stable-Diffusion-models-without-distortion

Adaptation of the merging method described in the paper - Git Re-Basin: Merging Models modulo Permutation Symmetries (https://arxiv.org/abs/2209.04836) for Stable Diffusion
MIT License
139 stars 21 forks source link

Gradual sum of models. Added fp16 and iterations options. #9

Closed vaguenebula closed 1 year ago

vaguenebula commented 1 year ago

"--iterations" should be set to around 10. Model b slowly added to a, and permutation taken at each iteration. Let me know if this gives better results than weighted sum.