bbc-mc / sdweb-merge-board

Multi-step automation merge tool. Extension/Script for Stable Diffusion UI by AUTOMATIC1111 https://github.com/AUTOMATIC1111/stable-diffusion-webui
73 stars 12 forks source link

Merges Fail, probably because of Subfolders #1

Closed keiex closed 1 year ago

keiex commented 1 year ago

i'm using subfolders to organize my models and the merge board doesn't seems to work, I've tried only one lane and it still failed

image image

bbc-mc commented 1 year ago

Thank you for reporting!

I found some update about "extra.run_modelmerger" and "Checkpoint format" feature, which affect issue of your report. And using sub-directory is/has supported on this Extension. (I'm also sub-directory user !)

I found there was change on "extra.run_modelmerger" function now require "checkpoint_format" as new param, and old code dont have. https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/dac9b6f15de5e675053d9490a20e0457dcd1a23e/modules/extras.py#L253

"checkpoint format" is new functionality, which support new format "safetensors".

So in this commit I do,

With this commit, I have no error merging with sub-directory models.

Please try and I hope you enjoy !