lllyasviel / lllyasviel/stable-diffusion-webui-forge

[not working = webui_forge_cu124_torch24.7z ] [this works = webui_forge_cu121_torch231.7z]

Open
#1,243 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: f2.0.1v1.10.1-previous-218-g643a485d
Commit hash: 643a485d1aff11acc657b24ee32d019e28d85b07
Installing clip
Installing open_clip
Installing requirements
Installing forge_legacy_preprocessor requirement: fvcore
Installing forge_legacy_preprocessor requirement: mediapipe
Installing forge_legacy_preprocessor requirement: svglib
Launching Web UI with arguments: --skip-torch-cuda-test
Traceback (most recent call last):
File "D:\webui_forge_cu124_torch24\webui\launch.py", line 51, in
main()
File "D:\webui_forge_cu124_torch24\webui\launch.py", line 47, in main
start()
File "D:\webui_forge_cu124_torch24\webui\modules\launch_utils.py", line 544, in start
import webui
File "D:\webui_forge_cu124_torch24\webui\webui.py", line 19, in
initialize_forge()
File "D:\webui_forge_cu124_torch24\webui\modules_forge\initialization.py", line 48, in initialize_forge
from backend import memory_management
File "D:\webui_forge_cu124_torch24\webui\backend\memory_management.py", line 6, in
import torch
File "D:\webui_forge_cu124_torch24\system\python\lib\site-packages\torch_init_.py", line 148, in
raise err
OSError: [WinError 126] The specified module could not be found. Error loading "D:\webui_forge_cu124_torch24\system\python\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.
Press any key to continue . . .

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at webui/launch.py and modules/launch_utils.py, then follow initialization.py into backend/memory_management.py where importing torch fails on fbgemm.dll. Compare the non-working webui_forge_cu124_torch24 package with the working cu121_torch231 package and reproduce the Windows startup error. Done means the affected package launches without the reported WinError 126.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
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.