Skip to content

what is checkpoint merger for and why?

I downloaded several checkpoint files. On web ui there is the checkpoint merger. My question is why people merge checkpoints, and what advantages does it have apart from saving disk space? thank you!

15 points22 comments
Open on Reddit
About this post
Posted
Archived
Score
15 · 89% up
Kind
Text
ID
yojca1

Author

75
posts
177
comments
102
media
View profile

23 comments

There is no reliable methods discovered yet that I've seen. It's all trail and error. Personally I just hot swap as needed and use inpainting a lot.

7 points

Can we train inpainting model ?

1 points
unknown author

Deleted before we saved it.

1 points

StableDiffusion can be fine-tuned into specific content, which gives its offbranches some strengths and weaknesses. The most well known existing StableDiffusion branches include WaifuDiffusion (model essentially trained on a ton of manga and hentai -images) and leaked NovelAi's model trained on some (AFAIK) unspecified anime -data. Some people somehow mix these branches together producing in-between mixed models. For example a branch may be better at human anatomy, but also easily produce images sexual in nature due to big chunk of its mixed-in training data being porn.

5 points

Thank you, that has a lot of sense why people mix them. So the themes and styles are joined together.

3 points

I still don't even know what a checkpoint is, let alone a checkpoint merger.

4 points

Checkpoints are the weights of the model. A model trained on a giant dataset of only labeled cat pictures will end up with different weights than a model trained on only labeled car pictures. However, the number of weights you have are the same if you had the same configuration and same code. This means you can literally average all the data together and try to get something in the middle. this doesn’t work as well the more different the two models are, but in practice most people are starting from the pretrained Stable Diffusion models and just fine tuning, so most of the weights are the same/similar anyway.

Another way to think about it is Checkpoint = save point in a video game. Imagine you have two Pokémon save files and you average them to try and get one that has your favorite Pokémon from both. The save file (checkpoint )has all your unique data but it doesn’t contain the game’s code on what to do with that data.

5 points

Thank you for taking the time to explain this. You're gonna hate me but...I don't know what weights are, either. But your analogy to Pokemon does help a bit. Thank you!

1 points

I've seen people who have mixed some very specific models about styles to get the best of both worlds. But I have no idea how they do it

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.