Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Controlnet no longer appearing in A1111, Forge or Reforge #3047

Open
1 task done
lebakerino opened this issue Sep 12, 2024 · 3 comments
Open
1 task done

[Bug]: Controlnet no longer appearing in A1111, Forge or Reforge #3047

lebakerino opened this issue Sep 12, 2024 · 3 comments

Comments

@lebakerino
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits of both this extension and the webui

What happened?

Hi, Controlnet was working fine in all of them until last month when I decided to update them all around the time Flux came out, I hadn't really tried controlnet since early aug/jul iirc and now looking at the UI's, it just doesn't appear in the UI.

Neither the Inbuilt versions load in Forge or Reforge nor the added versions via extensions in A1111. I even tried installing a new version of A1111 to see if controlnet would work and it doesn't.

All UI's throw the same error in the console log as shown below in the log window

I updated my Python from 3.10.9 to 3.10.11 and attempted in the new version of A1111 i installed to test, to Torch 2.3.1+cu121 but it reverted itself back to 2.1.2.

Steps to reproduce the problem

  1. Start WEBui
  2. Look at UI.
  3. No Controlnet

What should have happened?

Controlnet should appear in the UI main page

Commit where the problem happens

webui: A1111, Forge, Reforge
controlnet: inbuilt Forge and Reforge

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

No

List of enabled extensions

It happens with all other extensions disabled

Console logs

"ControlNet preprocessor location: C:\A1111 Forged\stable-diffusion-webui-forge\models\ControlNetPreprocessor
*** Error loading script: controlnet.py
    Traceback (most recent call last):
      File "C:\A1111 Forged\stable-diffusion-webui-forge\modules\scripts.py", line 525, in load_scripts
        script_module = script_loading.load_module(scriptfile.path)
      File "C:\A1111 Forged\stable-diffusion-webui-forge\modules\script_loading.py", line 13, in load_module
        module_spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 883, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "C:\A1111 Forged\stable-diffusion-webui-forge\extensions-builtin\sd_forge_controlnet\scripts\controlnet.py", line 40, in <module>
        global_state.update_controlnet_filenames()
      File "C:\A1111 Forged\stable-diffusion-webui-forge\extensions-builtin\sd_forge_controlnet\lib_controlnet\global_state.py", line 127, in update_controlnet_filenames
        found = get_all_models(sort_by, filter_by, path)
      File "C:\A1111 Forged\stable-diffusion-webui-forge\extensions-builtin\sd_forge_controlnet\lib_controlnet\global_state.py", line 30, in get_all_models
        fileinfos = traverse_all_files(path, [])
      File "C:\A1111 Forged\stable-diffusion-webui-forge\extensions-builtin\sd_forge_controlnet\lib_controlnet\global_state.py", line 14, in traverse_all_files
        f_list = [
      File "C:\A1111 Forged\stable-diffusion-webui-forge\extensions-builtin\sd_forge_controlnet\lib_controlnet\global_state.py", line 15, in <listcomp>
        (os.path.join(curr_path, entry.name), entry.stat())
    FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\A1111 Forged\\stable-diffusion-webui-forge\\models\\ControlNet\\control_v11e_sd15_ip2p.pth'"

Additional information

In Forge and Reforge, Controlnet in the extensions list is disabled and I enable it and click and apply and restart and upon SD restarting they are disabled again and of course the erorr is in the log.

Also the UI's are up to date and Controlnet all extensions when active are up to date. I have also tried disabling all other extensions and it still doesn't work.

I don't understand why it is not working in ALL 3 UI's which are of course seperately installed. Is there something bigger going on here?

Thanks.

@AlphaX87489
Copy link

same issue

@qlxxkj
Copy link

qlxxkj commented Sep 19, 2024

same issue, torch: 2.4.0+cu121

@ExR90
Copy link

ExR90 commented Sep 29, 2024

Same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants