You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can help on the root cause of this one. This is because the diffusers python library, in the "single_file.py" (where implements "from_single_file" function) expects that the class name contains the word "StableDiffusion", as you can see here:
and the class implemented here in pipeline_demodifusion_sdxl.py is called "DemoFusionSDXLPipeline" and for not contain the "StableDiffusion" word in the name, the load function fails.
Just changing the name of the class for something like: "DemoFusionStableDiffusionSDXLPipeline" will solve the problem and you can use from_single_file almost without any additional args.
Traceback (most recent call last):
File "/home/user/Repositories/run.py", line 6, in
pipe = DemoFusionSDXLPipeline.from_single_file(model_ckpt)
File "/home/user/Repositories/env/lib/python3.10/site-packages/diffusers/loaders.py", line 2268, in from_single_file
raise ValueError(f"Unhandled pipeline class: {pipeline_name}")
ValueError: Unhandled pipeline class: DemoFusionSDXLPipeline
Even after fixing this it does not work giving other errors from init.
I see references in the pipeline file so i assumed this should work?
The text was updated successfully, but these errors were encountered: