lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
8.52k stars 833 forks source link

InstantX ControlNet Canny built for Flux not working. #1067

Open softtaco1 opened 3 months ago

softtaco1 commented 3 months ago

A ControlNet Model that is currently not working with Flux in Forge:

https://huggingface.co/InstantX/FLUX.1-dev-Controlnet-Canny

An error message shows:

Recognizing Control Model failed: C:\Forge\stable-diffusion-webui-forge\models\ControlNet\InstantXFLUX.1-dev-Controlnet-Canny.safetensors *** Error running process: C:\Forge\stable-diffusion-webui-forge\extensions-builtin\sd_forge_controlnet\scripts\controlnet.py Traceback (most recent call last): File "C:\Forge\stable-diffusion-webui-forge\modules\scripts.py", line 844, in process script.process(p, *script_args) File "C:\Forge\stable-diffusion-webui-forge\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "C:\Forge\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 "C:\Forge\stable-diffusion-webui-forge\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "C:\Forge\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

Thank you for all your work on Forge, It seems like a huge undertaking but with the steps you've taken, I'm super excited for it's future :)

ImpossibleAd436 commented 3 months ago

I have this issue too

cattycnir commented 3 months ago

I have this issue too >_<

Lexxxco commented 3 months ago

Controlnet support for Flux will be much appreciated, right now Forge does not see Controlnet Union model as well.

Kadigan commented 3 weeks ago

Same issue, sadly. :/