-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Description
Describe the bug
using the convert_original_stable_diffusion_to_diffusers.py to convert safetensor model to diffusers. but the script always end with this error:
Traceback (most recent call last):
File "convert_original_stable_diffusion_to_diffusers.py", line 154, in
pipe = download_from_original_stable_diffusion_ckpt(
TypeError: download_from_original_stable_diffusion_ckpt() got an unexpected keyword argument 'checkpoint_path_or_dict'
Don't understand the resason, every thing is setup, the diffuser is installed.
Not sure if it's relative to the mac os version, my mac is runing the sonoma beta OS 14.0
and xcode 15 beta7.
Could you help with this~? thanx ahead
Reproduction
- using the convert_original_stable_diffusion_to_diffusers.py to convert safetensor model to diffusers.
- terminal already cd to the folder which the model in.
- "python convert_original_stable_diffusion_to_diffusers.py --checkpoint_path sample.safetensors --from_safetensors --device cpu --extract_ema --dump_path sample_diffusers"
- get the error:
Traceback (most recent call last):
File "convert_original_stable_diffusion_to_diffusers.py", line 154, in
pipe = download_from_original_stable_diffusion_ckpt(
TypeError: download_from_original_stable_diffusion_ckpt() got an unexpected keyword argument 'checkpoint_path_or_dict'
Logs
No response
System Info
python version: 3.8/3.11
diffuser version: 0.20
Mac OS: Sonoma beta OS 14.0
xcode 15 beta7.