stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: attempt to merge to models now results in error - AttributeError: module 'modules.sd_models' has no attribute 'find_checkpoint_config'

Open lonestard opened this issue 2 years ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

tried to merge to models this morning and I am suddenly getting the error message - AttributeError: module 'modules.sd_models' has no attribute 'find_checkpoint_config'

Steps to reproduce the problem

  1. Go to checkpoint merger
  2. select 2 checkpoints to merge click merge

What should have happened?

should have gotten a new file that is a merge of two checkpoints

Commit where the problem happens

Commit hash: 9beb794e0b0dc1a0f9e89d8e38bd789a8c608397

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Brave

Command Line Arguments

No response

Additional information, context and logs

No response

lonestard avatar Jan 27 '23 12:01 lonestard

I got the same error periodically when using the latest build, however, a merged checkpoint was nevertheless created. Though I am not sure if the created checkpoint is 100% as intended. It appears to be working alright though.

Update: I just noticed when the error appears, there is a newly merged checkpoint but no accompanying .yaml file.

tonyzehs avatar Jan 27 '23 17:01 tonyzehs

Same error here. Windows 11/Brave. It generates a checkpoint file, but the checkpoint won't load when I try to use it - the selection box goes blank.

ostapiuk avatar Jan 27 '23 21:01 ostapiuk

Same error here. Windows 11/Brave. It generates a checkpoint file, but the checkpoint won't load when I try to use it - the selection box goes blank.

After I checked the terminal, it turns out that after the error message the first time you select the newly created checkpoint the selection goes blank but the new checkpoint is in fact loaded after an initial delay.

However, if you choose it from the list again (as it appears empty), even though it now shows up in the selection box but when you run it, it reverts back to the first checkpoint in the list, at which point I need to restart the WebUI terminal for it to work.

tonyzehs avatar Jan 27 '23 22:01 tonyzehs

This was fixed in a recent commit (cc8c9b7474d917888a0bd069fcd59a458c67ae4b), so try updating.

MegaScience avatar Jan 27 '23 22:01 MegaScience