-
Notifications
You must be signed in to change notification settings - Fork 229
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
Error using from_single_file / not working #21
Comments
|
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: