krita-ai-diffusion
krita-ai-diffusion copied to clipboard
fbgemm.dll - The specified module could not be found
I have problem with launch local managed server on AI plugin.
INFO OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\opako\AppData\Roaming\krita\pykrita\ComfyUI\python\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies. ERROR
Is there any solution?
Thanx
I have the same issue
I found the solution, you have 2 options, the most simple is to install this dll and adding it to your /windows/system32 folder.
https://www.dllme.com/dll/files/libomp140_x86_64/00637fe34a6043031c9ae4c6cf0a891d/download
if it doesnt fix the error you will have to download the dependencies tool to find wich .dll is lost and just download it and it should be fixed.
Thanks bro manually adding dll fixed it. Its working now
Thank a lot. I solved the same problem here with your tip.
I found the solution, you have 2 options, the most simple is to install this dll and adding it to your /windows/system32 folder.
https://www.dllme.com/dll/files/libomp140_x86_64/00637fe34a6043031c9ae4c6cf0a891d/download
if it doesnt fix the error you will have to download the dependencies tool to find wich .dll is lost and just download it and it should be fixed.
thanx this works for me, windows 11 just drop .dll on /windows/system32 folder
Same issue, and I can't download that DLL, for some reason i can't access to DLLMe in my country, and i don't find it anywhere else
Same issue, and I can't download that DLL, for some reason i can't access to DLLMe in my country, and i don't find it anywhere else
Try with VPN joining with other country
SetupVPN extension for your browser.
For the latest release v1.21.0 I pinned the pytorch version to 2.3.1 That means people who (re-)install with that version shouldn't run into this problem.
Maybe it will be fixed on pytorch side in the future by including the DLL, but I'm not sure and it'll probably take some time: https://github.com/pytorch/pytorch/issues/131662
Same issue, and I can't download that DLL, for some reason i can't access to DLLMe in my country, and i don't find it anywhere else
If Drive works on your country then here have the file I uploaded to Drive https://drive.google.com/file/d/1R_ZQjL0r1eBzDZIuFUykDqy5P2L4-92W/view
I was solved that error by installing "Build Tools for Visual Studio 2022" but you can try too "Build Tools for Visual Studio 2019"
I found the solution, you have 2 options, the most simple is to install this dll and adding it to your /windows/system32 folder.
https://www.dllme.com/dll/files/libomp140_x86_64/00637fe34a6043031c9ae4c6cf0a891d/download
if it doesnt fix the error you will have to download the dependencies tool to find wich .dll is lost and just download it and it should be fixed.
thanks g its working now
I have problem with launch local managed server on AI plugin.
INFO OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\opako\AppData\Roaming\krita\pykrita\ComfyUI\python\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies. ERROR
Is there any solution?
Thanx
Mine still not working
@pistqak download the dependencies tool to find wich one is missing to you, if you already have the libomp140 it should be a different dependencie and it will give you wich one is missing
here is the link for the tool
https://github.com/lucasg/Dependencies
@pistqak download the dependencies tool to find wich one is missing to you, if you already have the libomp140 it should be a different dependencie and it will give you wich one is missing
here is the link for the tool
https://github.com/lucasg/Dependencies
thx
THIS WORKED FOR ME:
If you encounter an error related to missing DLL files (specifically fbgemm.dll) on Windows 11, follow these steps to resolve the issue:
- Download and run the Visual Studio Installer.
- Select "Modify" if you have Visual Studio installed, or proceed with a new installation.
- Go to the "Individual components" tab.
- Search for "C++ 2022" in the search box.
- Check the box next to "MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)".
- Click "Modify" or "Install" to proceed with the installation.
- Restart your computer after the installation is complete.
- This installs the necessary C++ build tools and runtime libraries that PyTorch depends on.
THIS WORKED FOR ME:
If you encounter an error related to missing DLL files (specifically fbgemm.dll) on Windows 11, follow these steps to resolve the issue:
1. Download and run the Visual Studio Installer. 2. Select "Modify" if you have Visual Studio installed, or proceed with a new installation. 3. Go to the "Individual components" tab. 4. Search for "C++ 2022" in the search box. 5. Check the box next to "MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)". 6. Click "Modify" or "Install" to proceed with the installation. 7. Restart your computer after the installation is complete. 8. This installs the necessary C++ build tools and runtime libraries that PyTorch depends on.
First, I solved the problem with the tip provided by hermessalomon, I mean, copying libomp140.x86_64.dll (signed by Autodesk) to Windows\System32 folder. I can confirm adding "MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)" to my installation of Visual Studio also injects that dll (signed by Microsoft). Thank to both of you.
THIS WORKED FOR ME:
If you encounter an error related to missing DLL files (specifically fbgemm.dll) on Windows 11, follow these steps to resolve the issue:
- Download and run the Visual Studio Installer.
- Select "Modify" if you have Visual Studio installed, or proceed with a new installation.
- Go to the "Individual components" tab.
- Search for "C++ 2022" in the search box.
- Check the box next to "MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)".
- Click "Modify" or "Install" to proceed with the installation.
- Restart your computer after the installation is complete.
- This installs the necessary C++ build tools and runtime libraries that PyTorch depends on.
Thanks for the fix! Short version:
winget install --id Microsoft.VisualStudio.2022.BuildTools --override "--passive --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
THIS WORKED FOR ME:
If you encounter an error related to missing DLL files (specifically fbgemm.dll) on Windows 11, follow these steps to resolve the issue:
- Download and run the Visual Studio Installer.
- Select "Modify" if you have Visual Studio installed, or proceed with a new installation.
- Go to the "Individual components" tab.
- Search for "C++ 2022" in the search box.
- Check the box next to "MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)".
- Click "Modify" or "Install" to proceed with the installation.
- Restart your computer after the installation is complete.
- This installs the necessary C++ build tools and runtime libraries that PyTorch depends on.
Thanks for the fix! Short version:
winget install --id Microsoft.VisualStudio.2022.BuildTools --override "--passive --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
Thank you so freaking much for not making me use some random dll because i'm pretty sure that's how ya hack ya self. Xo
Thank you so freaking much for not making me use some random dll because i'm pretty sure that's how ya hack ya self. Xo
The DLL suggested by hermessalomon is digitally signed by Autodesk, so, no risk.
I found the solution, you have 2 options, the most simple is to install this dll and adding it to your /windows/system32 folder. https://www.dllme.com/dll/files/libomp140_x86_64/00637fe34a6043031c9ae4c6cf0a891d/download if it doesnt fix the error you will have to download the dependencies tool to find wich .dll is lost and just download it and it should be fixed.
Tqsm @hermessalomon this works
I found the solution, you have 2 options, the most simple is to install this dll and adding it to your /windows/system32 folder.
https://www.dllme.com/dll/files/libomp140_x86_64/00637fe34a6043031c9ae4c6cf0a891d/download
if it doesnt fix the error you will have to download the dependencies tool to find wich .dll is lost and just download it and it should be fixed.
This was a life saver. I was looking for a solution for such a long time, but this worked like a charm
Hey there, I have the fbgemm.dll but it seems corrupted, should I delete it and then reinstall it
As it is still giving the issue that fbgemm.dll or one of its dependencies are corrupted
Did you try the solutions given by zenkovski and by james2342342514 ?
For the latest release v1.21.0 I pinned the pytorch version to 2.3.1 That means people who (re-)install with that version shouldn't run into this problem.
Maybe it will be fixed on pytorch side in the future by including the DLL, but I'm not sure and it'll probably take some time: pytorch/pytorch#131662
This one solved it for me (had PyTorch 2.4.0, Windows 10), didn't even need to fiddle with the C++ stuff. Much appreciated!
I do not have space in my computer for zenkovski's option and I already have fbgemm.dll, so neither option works
I found the solution, you have 2 options, the most simple is to install this dll and adding it to your /windows/system32 folder.
https://www.dllme.com/dll/files/libomp140_x86_64/00637fe34a6043031c9ae4c6cf0a891d/download
if it doesnt fix the error you will have to download the dependencies tool to find wich .dll is lost and just download it and it should be fixed.
Solved my issue my adding .dll file in windows/system32 Thanks a lot
J'ai trouvé la solution, vous avez 2 options, la plus simple est d'installer cette dll et de l'ajouter à votre dossier /windows/system32.
https://www.dllme.com/dll/files/libomp140_x86_64/00637fe34a6043031c9ae4c6cf0a891d/download
si cela ne corrige pas l'erreur, vous devrez télécharger l'outil de dépendances pour trouver quel .dll est perdu et le télécharger simplement et il devrait être corrigé.
Merci mec pour le tifs
I found the solution, you have 2 options, the most simple is to install this dll and adding it to your /windows/system32 folder.
https://www.dllme.com/dll/files/libomp140_x86_64/00637fe34a6043031c9ae4c6cf0a891d/download
if it doesnt fix the error you will have to download the dependencies tool to find wich .dll is lost and just download it and it should be fixed.
THANKS SO MUCHH!