-
Notifications
You must be signed in to change notification settings - Fork 491
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
DLL load failed while importing fused: The specified module could not be found. #38
Comments
torch2.0 should work. This is a problem caused by the stylegan cuda extension. Check this out #12 |
Thank you! I'm not using Conda. Do you think there is a way to make it work without it? and to make it more difficult, potentially, I'm on windows. Could it be something related to ninja? |
By the way, I'm an animator and I think this kind of thing will be revolutionary. Thanks for implementing it. |
Yes,there are many issues similar as yours on windows,it seems some of them solve the problem without conda by installing visual studio. I will try to simplify the installation later this week. Thanks again for the attention |
I figured it out. 'ninja.exe' needs to be in 'PATH' on windows, it's as simple as that. in my case, add this to 'PATH': |
well. now I get Cannot open include file: 'Python.h': No such file or directory # ninja: build stopped: subcommand failed.Another Torch-related error. |
Maybe you could update the code to the latest version. I made some changes to provide a fallback option when the custom op could not be build, which no longer needs ninja things. |
trying now |
thanks friend! It looks like it it works now. I just get a warning that might be something or nothing, i don't know yet, but the import now works. |
I'll try without ninja as well, if you say it might not be required anymore? |
Do you mean you want to uninstall ninja ? If it is, I don't know if it would cause problems. So I would recommend keep it. What I mean is that you are likely won't meet errors about ninja anymore. |
I see. I'm trying to make this work along Stable diffusion in a non-conda environment (with a custom UI) which is why it's a bit complicated. |
I have the same problems: The packages I installed with conda are as follows: Name Version Build Channelblas 1.0 mkl My computer configuration: Looking forward to your suggestions!! |
@ATUI-TING Hello, I have a very similar problem as your problem you asked above, did you solve it? |
Yes, U can try to download VS2019. |
@ATUI-TING Thanks for your replying! The picture shown as below shows the libs and their versions installed: |
@ATUI-TING I have tried to set environment variable The following picture shows the error message, and the Chinese in the last line is "The specified module could not be found." |
Can it work with Torch2.0 or does it use functions that aren't present in 2.0? (that is what I suspect at first glance)
I tried and I get "DLL load failed while importing fused: The specified module could not be found."
The text was updated successfully, but these errors were encountered: