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

Adetailer is breaking my installation of Forge UI. #2624

Open
Deejay85 opened this issue Feb 6, 2025 · 3 comments
Open

Adetailer is breaking my installation of Forge UI. #2624

Deejay85 opened this issue Feb 6, 2025 · 3 comments

Comments

@Deejay85
Copy link

Deejay85 commented Feb 6, 2025

Things were running just fine until I installed adetailer, and now every time I run it, I get the following error message:

  File "M:\Forge UI\webui\launch.py", line 54, in <module>
    main()
  File "M:\Forge UI\webui\launch.py", line 42, in main
    prepare_environment()
  File "M:\Forge UI\webui\modules\launch_utils.py", line 434, in prepare_environment
    raise RuntimeError(
RuntimeError: Your device does not support the current version of Torch/CUDA! Consider download another version:
https://github.com/lllyasviel/stable-diffusion-webui-forge/releases/tag/latest

This is strange because everything was running fine before, and as for the version I downloaded, it was webui forge cu124 torch24. From what I can remember, torch and all that should have already been preinstalled, and since I'm using a Nvidia card, there should be no problems with getting this to work. Since the only (easy) fix is to replace the system folder, I'm kind of disturbed about this addon easily breaking things so easily...especially since it's a major component most people rely on.

Anyway, is there a way to fix this, and if so, is it a problem with Forge UI, or Adetailer? I'm thinking Forge UI since, as mentioned above, Torch and CUDA should have been installed already otherwise the program wouldn't have loaded like it should have the first time around.

@SvenErik1968
Copy link

ADetailer works fine for me using the recomended version of Forge (CUDA 12.1 + Pytorch 2.3.1):

Image

@Deejay85
Copy link
Author

Deejay85 commented Feb 7, 2025

I tried downloading that, and surprisingly, it worked soon after replacing the system folder. Not sure what exactly went wrong between versions, but at least the fix was easy. 😀

@SvenErik1968
Copy link

A lot of Python packages are very finicky about the versions of other packages they work with... ;-)

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

2 participants