lllyasviel / lllyasviel/stable-diffusion-webui-forge
Adetailer is breaking my installation of Forge UI.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
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
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the traceback path in webui/launch.py and modules/launch_utils.py, especially prepare_environment, and reproduce the failure after installing adetailer with the Forge UI cu124 torch24 setup. Compare the environment before and after installation to determine whether the addon changes Torch/CUDA compatibility; done means identifying the responsible component and documenting a reliable fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100