lllyasviel / lllyasviel/stable-diffusion-webui-forge

ControlNet - ERROR - Recognizing Control Model failed

Open
#3,114 0 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

Hello,
Encountering issue while generating with ip-adapter (ControlNet).
Config : Linux PopOS_Nvidia / RTX3090 / 32Gb DDR5
Forge : version: [f2.0.1v1.10.1-previous-669 •  python: 3.10.20  •  torch: 2.3.1+cu121  •  xformers: 0.0.27  •  gradio: 4.40.0  •  checkpoint: [4610115bb0]
Checkpoint : flux1-dev.safetensors OR flux1-dev-bnb-nf4-v2.safetensors
ControlNet : pulid_flux_v0.9.1.safetensors OR ip_adapter.safetensors OR xlabsAIFluxControlnet_v10.safetensors

ERROR LOG

2026-04-11 21:59:45,753 - ControlNet - INFO - ControlNet Input Mode: InputMode.SIMPLE
2026-04-11 21:59:45,888 - ControlNet - INFO - Using preprocessor: InsightFace+CLIP-H (IPAdapter)
2026-04-11 21:59:45,888 - ControlNet - INFO - preprocessor resolution = 0.5
2026-04-11 21:59:45,890 - ControlNet - ERROR - Recognizing Control Model failed: /mnt/aidata/stable-diffusion-webui-forge/models/ControlNet/pulid_flux_v0.9.1.safetensors
*** Error running process: /mnt/aidata/stable-diffusion-webui-forge/extensions-builtin/sd_forge_controlnet/scripts/controlnet.py
    Traceback (most recent call last):
      File "/mnt/aidata/stable-diffusion-webui-forge/modules/scripts.py", line 844, in process
        script.process(p, *script_args)
      File "/mnt/aidata/stable-diffusion-webui-forge/venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
        return func(*args, **kwargs)
      File "/mnt/aidata/stable-diffusion-webui-forge/extensions-builtin/sd_forge_controlnet/scripts/controlnet.py", line 554, in process
        self.process_unit_after_click_generate(p, unit, params, *args, **kwargs)
      File "/mnt/aidata/stable-diffusion-webui-forge/venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
        return func(*args, **kwargs)
      File "/mnt/aidata/stable-diffusion-webui-forge/extensions-builtin/sd_forge_controlnet/scripts/controlnet.py", line 414, in process_unit_after_click_generate
        assert params.model is not None, logger.error(f"Recognizing Control Model failed: {model_filename}")
    AssertionError: None

ERROR LOG END

Screenshot

Image

I've tried changing controlnet models, removing / redownloading models, Added the exact file path in settings for controlnet models.

I am lost on why this issue pertains and how to solve it. I've seen multiple cases online with no solution unfortunately.
Any suggestion welcome
Cheers
G

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

Reproduce the failure with the listed Flux and ControlNet model files, then start at extensions-builtin/sd_forge_controlnet/scripts/controlnet.py:414 and trace how the selected model reaches the assertion. Compare the listed model types and the recognition path. Done means generation no longer raises AssertionError: None for a supported configuration.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.