Skip to content
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

TypeError: download_from_original_stable_diffusion_ckpt() got an unexpected keyword argument 'checkpoint_path_or_dict' #313

Closed
leebeet opened this issue Sep 11, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@leebeet
Copy link

leebeet commented Sep 11, 2023

Processor

M1 (or later)

Memory

8GB

What happened?

when i tried to run the convert_original_stable_diffusion_to_diffusers.py, the terminal stops and return this:
File "/Users/libotong/convert_original_stable_diffusion_to_diffusers.py", line 155, in
pipe = download_from_original_stable_diffusion_ckpt(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: download_from_original_stable_diffusion_ckpt() got an unexpected keyword argument 'checkpoint_path_or_dict'

it looks like the args in this method is not right anymore? maybe diffusers lib has been updated this api. i dont, now the converting is not working here.

Crash Log

No response

@leebeet leebeet added the bug Something isn't working label Sep 11, 2023
@jrittvo
Copy link
Contributor

jrittvo commented Sep 11, 2023

The script is from the Hugging Face Diffusers repo at https://github.com/huggingface/diffusers. The diffusers package has been updated a few times recently, as have several other packages used in the model conversion pipelines. Open an issue at that repo and perhaps they can get you going.

We can also try to help you over at the Mochi Discord server's model conversion issues channel: https://discord.gg/x2kartzxGv and https://discord.com/channels/1068185566782423092/1147197089298792548 if you post the full conversion command that you are trying to use over there. Also, give a look at this post: #310.

@jrittvo
Copy link
Contributor

jrittvo commented Sep 11, 2023

I collected stuff from my miniconda environment for doing models conversions at this link, if you want to try the packages/scripts that have been working for me:

https://huggingface.co/jrrjrr/Playground

@jiangdi0924
Copy link

jiangdi0924 commented Sep 12, 2023

got the same issue .. ( old version is fine.)

@jrittvo
Copy link
Contributor

jrittvo commented Sep 12, 2023

got the same issue .. ( old version is fine.)

Please leave a bug report at the diffusers repo.

@godly-devotion
Copy link
Collaborator

godly-devotion commented Sep 12, 2023

As @jrittvo mentioned, unfortunately theres nothing we can do on our side.

@godly-devotion godly-devotion closed this as not planned Won't fix, can't repro, duplicate, stale Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants