lllyasviel / lllyasviel/stable-diffusion-webui-forge

"Flux Control Net models not working? Where to download, then?"

Open
#1,253 16 comments 6 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

hELLO, I TRIED USING CONTROL NET MODELS FROM THIS PAGE [MODEL WAS DOWNLAODED FROM https://huggingface.co/XLabs-AI/flux-controlnet-collections] - AND WHEN TRYING TO USE CONTROL NET ON FORGE, GOT THIS ERROR:

2024-08-17 21:38:29,461 - ControlNet - ERROR - Recognizing Control Model failed: C:\TEMP\FORGEFLUX\webui\models\ControlNet\flux-canny-controlnet_v2.safetensors

*** Error running process: C:\TEMP\FORGEFLUX\webui\extensions-builtin\sd_forge_controlnet\scripts\controlnet.py
Traceback (most recent call last):
File "C:\TEMP\FORGEFLUX\webui\modules\scripts.py", line 844, in process
script.process(p, *script_args)
File "C:\TEMP\FORGEFLUX\system\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "C:\TEMP\FORGEFLUX\webui\extensions-builtin\sd_forge_controlnet\scripts\controlnet.py", line 554, in process
self.process_unit_after_click_generate(p, unit, params, *args, **kwargs)
File "C:\TEMP\FORGEFLUX\system\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "C:\TEMP\FORGEFLUX\webui\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

MODEL WAS DOWNLAODED FROM https://huggingface.co/XLabs-AI/flux-controlnet-collections

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with extensions-builtin/sd_forge_controlnet/scripts/controlnet.py at the reported processing paths around lines 414 and 554, then reproduce the failure using the model at the stated Hugging Face URL. Determine why the downloaded safetensors file is not recognized and document or verify the supported model source and placement needed for successful ControlNet use.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.