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

Krita -AI plugin local server error launch #659

Closed
opako666 opened this issue Apr 25, 2024 · 9 comments
Closed

Krita -AI plugin local server error launch #659

opako666 opened this issue Apr 25, 2024 · 9 comments
Labels
installation Issue with the installer

Comments

@opako666
Copy link

          Hi

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.
2024-04-25 13:22:57,200 ERROR

Is there any solution?

Thanx
Configure Krita

Originally posted by @opako666 in #503 (comment)

@Acly Acly added the installation Issue with the installer label Apr 26, 2024
@Acly
Copy link
Owner

Acly commented Apr 26, 2024

Was this a fresh install or upgrade from previous version?

I encountered similar problem when upgrading torch, it's some kind of dependency issue (some DLL is missing, not in the right place or not the right version). I'm not sure I can help much though, I ended up reinstalling.

If you haven't done already I would try installing with minimal packages into a seprate folder to see if that works. You can copy the models afterwards if it does to avoid most downloads.

@opako666
Copy link
Author

It is new install. I try install all again with minimal packages. Same problem.

@opako666
Copy link
Author

this file "fbgemm.dll" exist in that lib folder.

@opako666
Copy link
Author

Hardware is Surface pro 8 with Windiws 11.

@Acly
Copy link
Owner

Acly commented Apr 26, 2024

this file "fbgemm.dll" exist in that lib folder.

Yea usually it's that the dll requires some other dlls, which also require other dlls... and so on.
And at some point one of them is missing. Windows doesn't like to tell you which though.

Dependencies tool can help, you drag the DLL in and ideally it tells you which one is missing.

I thought this might be related to recent pytorch update (which the DLL belongs to). But I just tried a fresh install on Windows 11 and it's working ok.

@opako666
Copy link
Author

I don´t know how to fix it.
Thanks for help.
dependencies

@opako666
Copy link
Author

I fix it....I installed Visual C++ Redistributable.

Acly thanks so much for your help.

@opako666
Copy link
Author

it is terribly slow on the CPU to the point of being unusable.

@Acly
Copy link
Owner

Acly commented Apr 26, 2024

I'm afraid so :(

@Acly Acly closed this as completed May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Issue with the installer
Projects
None yet
Development

No branches or pull requests

2 participants