For images that were generated using two or more different AI models.
Merged models are created via various math operations performed on the model weights, often in several passes with several different models. The stable-diffusion-webui includes two interpolation methods that modify models out-of-the-box (weighted sum, add difference), but several extensions and external programs exist that can perform more advanced operations.
- Merge weights by block
- Idea introduced by kohya_ss (https://note.com/kohya_ss/n/n9a485a066d5b)
- Git Re-Basin merge (https://github.com/samuela/git-re-basin)
- Helper Python module to provide various merging methods in an agnostic way