lllyasviel / lllyasviel/stable-diffusion-webui-forge

Checkpoint Merger Error

Open
#1,095 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

*** Error loading/saving model file██████████████████████████████████████████████████| 140/140 [00:40<00:00, 3.71it/s]
Traceback (most recent call last):
File "F:\AI\StableDiffusion\WebUI-Forge\modules\ui_checkpoint_merger.py", line 21, in modelmerger
results = extras.run_modelmerger(*args)
File "F:\AI\StableDiffusion\WebUI-Forge\modules\extras.py", line 135, in run_modelmerger
primary_model_info = sd_models.checkpoints_list[primary_model_name]
KeyError: 'SD15_AvaCadava_v6_EP150.safetensors'

---

I tried different models / combinations and all of them failed with the same error. I get this error since I've updated to the new UI design with FLUX integration. Before the Update I had no problems to merge my models.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the model merge failure and inspect modules/ui_checkpoint_merger.py at line 21 and modules/extras.py at line 135, where the traceback points. Trace how the primary model name reaches sd_models.checkpoints_list and verify the merge completes without the reported KeyError for the affected model combinations.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.