eyriewow / merge-models

Merges two latent diffusion models at a user-defined ratio
262 stars 24 forks source link
stable-diffusion

Merge Models

This script combines two stable-diffusion models at a user-defined ratio.

The ratio works as follows:

Running it

Bat file Method for Windows Users

If you are using Windows and Automatics Webui, which I highly recommend, the easiest way to use this script is to use the .bat file.

Running merge.py Directly

If you aren't using Automatic's web UI or are comfortable with the command line, you can also run merge.py directly. Just like with the .bat method, I'd recommend creating a folder within your stable-diffusion installation's main folder. This script requires torch to be installed, which you most likely will have installed in a venv inside your stable-diffusion webui install.

Potential Problems & Troubleshooting

Credits