Open billqu01 opened 2 days ago
Assuming that you have installed one of the backend packages, I'd guess it's the same as https://github.com/DarthAffe/StableDiffusion.NET/issues/11 Some packaging issue that I can't really help with as it's a project specific thing.
I have installed StableDiffusion.NET.Backend.Cuda. But the error is still be in.
Are you running your application in 32bit? Otherwise I'm pretty sure the dll is just not found which would be related to your project setup/publish/packing. You could try to call StableDiffusionCpp.LoadNativeLibrary
at application start with the path to the stable-diffusion.dll
in my .net8 WinUI project. My codes: public MainWindow() { this.InitializeComponent();
} in the line: model = ModelBuilder.Flux(fluxPath, clipPath, t5xxlPath, aePath) .WithMultithreading() .Build(); run error: Unable to load DLL 'stable-diffusion' or one of its dependencies: 找不到指定的模块。 (0x8007007E)
How to solve it?
Thank you.