I tried using the SDXL. 2 models.
1: hassakuXLIllustrious_v22.safetensors
won't load.
Loading model......
Maybe you are using: SDXL
Unhandled exception. System.InvalidOperationException: Sequence contains no matching element
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
at StableDiffusionSharp.ModelLoader.SafetensorsLoader.LoadSafetensors(Module module, String fileName, String maybeAddHeaderInBlock) in D:\temp\StableDiffusionSharp\StableDiffusionSharp\ModelLoader\SafetensorsLoader.cs:line 133
at StableDiffusionSharp.ModelLoader.ModelLoader.LoadModel(Module module, String fileName, String maybeAddHeaderInBlock) in D:\temp\StableDiffusionSharp\StableDiffusionSharp\ModelLoader\ModelLoader.cs:line 19
at StableDiffusionSharp.Modules.SDModel.LoadModel(String modelPath, String vaeModelPath, String vocabPath, String mergesPath) in D:\temp\StableDiffusionSharp\StableDiffusionSharp\Modules\SDModel.cs:line 107
at StableDiffusionSharp.StableDiffusion.LoadModel(String modelPath, String vaeModelPath, String vocabPath, String mergesPath) in D:\temp\StableDiffusionSharp\StableDiffusionSharp\StableDiffusion.cs:line 50
at StableDiffusionDemo_Console.Program.Main(String[] args) in D:\temp\StableDiffusionSharp\StableDiffusionDemo_Console\Program.cs:line 40
I tried using the SDXL. 2 models.
1: hassakuXLIllustrious_v22.safetensors
won't load.
line 40:
sd.LoadModel(sdModelPath);
sdModelPath is correct!
It seems to work, but I didn't wait the result. The frame generation speed is about 20 times slower than in Python in standard webui or, for example, sd.reForge.