huggingface / huggingface/diffusers

There is no create_diffusers_controlnet_model_from_ldm function in single_file_utils.py

Open
#8,645 3 comments 0 reactions 0 assignees View on GitHub
bug single_file stale
Dominant language
Python
Stars
34.5k
Forks
7.3k
Avg merge
3d 3h
Merged PRs (30d)
91

Description

### 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

`diffusers`version: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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.