StabilityMatrix icon indicating copy to clipboard operation
StabilityMatrix copied to clipboard

WebUI Forge won't run, loading fbgemm.dll (WinError: 126)

Open therifler opened this issue 9 months ago • 1 comments

Package

Windows 11 Pro Insider Preview 27808.rs_prelease.25303-1327

Stable Diffusion WebUI Forge Version: f2.0.1v1.10.1-previous-659-gc055f2d4 Commit hash: c055f2d43b07cbfd87ac3da4899a6d7ee52ebab9

When did the issue occur?

Running the Package. Problem post Windows update.

What GPU / hardware type are you using?

Ryzen 7 5800H, 16 GB RAM, RTX 3060 Mobile 6GB

What happened?

The StabilityMatrix application starts, but an error occurs when trying to run SD Forge, which I attach. I have tried reinstalling, unfortunately to no avail.

Console output

Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] Version: f2.0.1v1.10.1-previous-659-gc055f2d4 Commit hash: c055f2d43b07cbfd87ac3da4899a6d7ee52ebab9 Installing requirements S:\StabilityMatrix\Packages\stable-diffusion-webui-forge\extensions-builtin\forge_legacy_preprocessors\install.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources S:\StabilityMatrix\Packages\stable-diffusion-webui-forge\extensions-builtin\sd_forge_controlnet\install.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources Launching Web UI with arguments: --pin-shared-memory --cuda-malloc --cuda-stream --always-gpu --skip-torch-cuda-test --gradio-allowed-path 'S:\StabilityMatrix\Images' Using cudaMallocAsync backend. Traceback (most recent call last): File "S:\StabilityMatrix\Packages\stable-diffusion-webui-forge\launch.py", line 54, in main() File "S:\StabilityMatrix\Packages\stable-diffusion-webui-forge\launch.py", line 50, in main start() File "S:\StabilityMatrix\Packages\stable-diffusion-webui-forge\modules\launch_utils.py", line 546, in start import webui File "S:\StabilityMatrix\Packages\stable-diffusion-webui-forge\webui.py", line 21, in initialize_forge() File "S:\StabilityMatrix\Packages\stable-diffusion-webui-forge\modules_forge\initialization.py", line 58, in initialize_forge from backend import memory_management File "S:\StabilityMatrix\Packages\stable-diffusion-webui-forge\backend\memory_management.py", line 6, in import torch File "S:\StabilityMatrix\Packages\stable-diffusion-webui-forge\venv\lib\site-packages\torch_init_.py", line 143, in raise err OSError: [WinError 126] Nie można odnaleźć określonego modułu. Error loading "S:\StabilityMatrix\Packages\stable-diffusion-webui-forge\venv\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.

Nie można odnaleźć określonego modułu -> The specified module could not be found

Version

2.13.4

What Operating System are you using?

Windows

therifler avatar Mar 08 '25 13:03 therifler

Try removing that --skip-torch-cuda-test for a better error message. If it's telling you to add it, you have the wrong version of torch installed, and can fix by running

torch==2.3.1 torchvision==0.18.1 --extra-index-url https://download.pytorch.org/whl/cu121 --force-reinstall

In the Python Packages menu

mohnjiles avatar Mar 09 '25 18:03 mohnjiles

This issue is stale because it has been open 60 days with no activity. Remove the stale label or comment, else this will be closed in 7 days.

github-actions[bot] avatar May 09 '25 02:05 github-actions[bot]

This issue was closed because it has been stale for 7 days with no activity.

github-actions[bot] avatar May 16 '25 02:05 github-actions[bot]