diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

There is no create_diffusers_controlnet_model_from_ldm function in single_file_utils.py

Open meng-yuan321 opened this issue 1 year ago • 2 comments

Describe the bug

in diffusers/loaders/controlnet.py, there is from .single_file_utils import ( create_diffusers_controlnet_model_from_ldm, fetch_ldm_config_and_checkpoint, )

But, there is no create_diffusers_controlnet_model_from_ldm function in single_file_utils.py

Reproduction

from .single_file_utils import ( create_diffusers_controlnet_model_from_ldm, fetch_ldm_config_and_checkpoint, )

Logs

No response

System Info

diffusersversion:0.21.0 Platform: Linux-5.4.143-2-velinux1-amd64-x86 64-with-glibc2.31 Python version: 3.9.17 PyTorch version(GPu?):2.0.1+cu118(True) Huggingface hub version: 0.23.4 Transformers version:4.25.0 Accelerate version: 0.31.0 xFormers version: 0.0.22

Who can help?

No response

meng-yuan321 avatar Jun 20 '24 06:06 meng-yuan321

Indeed. Cc: @DN6. It must have been caught in the tests too. Let's fix this.

sayakpaul avatar Jun 21 '24 04:06 sayakpaul

This is a bug. Thanks for flagging. That file and import should be removed. I'll open a PR for it

DN6 avatar Jul 01 '24 10:07 DN6

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Sep 14 '24 15:09 github-actions[bot]