Available in ckpt format?
#10
by
ayan4m1
- opened
I am trying to quantize this model to GGUF files, but the Stable Diffusion script for converting from diffusers format to ckpt errors with:
File "/media/user/StableDiffusion/FramePack-Studio-0.4/ComfyUI-GGUF/tools/convert_to_diffusers.py", line 160, in <module>
pipe = download_from_original_stable_diffusion_ckpt(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/media/user/StableDiffusion/FramePack-Studio-0.4/venv/lib/python3.12/site-packages/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py", line 1474, in download_from_original_stable_diffusion_ckpt
converted_unet_checkpoint = convert_ldm_unet_checkpoint(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/media/user/StableDiffusion/FramePack-Studio-0.4/venv/lib/python3.12/site-packages/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py", line 434, in convert_ldm_unet_checkpoint
new_checkpoint["time_embedding.linear_1.weight"] = unet_state_dict["time_embed.0.weight"]
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'time_embed.0.weight'
If I look at unet_state_dict, it is empty. If I modify the code to do skip_extract_state_dict for the unet, the dict is populated, but that layer is not present. Any ideas, or would you be willing to upload this model in CKPT (folders like text_encoder, vae, etc) format?