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

I get a 'specific module could not be found' error? Help? #113

Open
KarmaMole opened this issue Aug 1, 2024 · 1 comment
Open

I get a 'specific module could not be found' error? Help? #113

KarmaMole opened this issue Aug 1, 2024 · 1 comment

Comments

@KarmaMole
Copy link

Traceback (most recent call last):
File "C:\Stable Diffusion Engines\Omost\gradio_app.py", line 6, in
import lib_omost.memory_management as memory_management
File "C:\Stable Diffusion Engines\Omost\lib_omost\memory_management.py", line 1, in
import torch
File "C:\Users\Omar.conda\envs\omost\lib\site-packages\torch_init_.py", line 148, in
raise err
OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\Omar.conda\envs\omost\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.

@DenOfEquity
Copy link

I had the same issue - due to missing a dependency for fbgemm.dll. Solution I used was to install updated MS VC++ redistributable.
Go to https://visualstudio.microsoft.com/visual-cpp-build-tools/, then Download Build Tools.
Run it, go to Individual components tab, find MSVC v143 -VS 2022 C++ x64/x86 Build tools (latest) and install.
More discussion and alternative options: pytorch/pytorch#131662

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