Sign In

How to merge checkpoints and merge Loras into a checkpoint in A1111!!!

22
How to merge checkpoints and merge Loras into a checkpoint in A1111!!!

Hello!

Here's what I've been discovering while messing around with Automatic1111 without knowing exactly what it's doing.

The first thing is to install the Supermerger extension: https://github.com/hako-mikan/sd-webui-supermerger

Put --disable-nan-check in the webui-user.bat

Apparently if you don't put it, the Supermerger gives errors when merging checkpoints.

Merge: merge checkpoints

Lora: Merge Lora with checkpoint

Merge&Gen: When it finishes merging checkpoints it creates an image with the new checkpoint

Gen: Create an image with the new checkpoint before merging the checkpoints

To merge the checkpoints, set the parameters like this:

Expand the OPTIONS tab and set the parameters as follows:

Press Merge or Merge&Gen and wait for it to finish.

To merge a Lora to a checkpoint, go to the LORA tab and set the parameters like this:

You must put the name of the Lora, two points and a 1

Click merge to checkpoint and wait:

I merged my Lora Eto_OC and now I don't have to use her Lora to make my character fufufufu

You must restart Automatic1111 for it to recognize the new checkpoint!!!

To add several Loras at once, put them as in the screenshot: You can also put different weights!!

Images made with a checkpoint that is a mix of 7 checkpoints and a bunch of Loras:

https://civitai.com/posts/17189759

22

Comments