huggingface / huggingface/diffusers

There is no create_diffusers_controlnet_model_from_ldm function in single_file_utils.py

Aperta
#8,645 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug single_file stale
Lingua principale
Python
Stelle
34.5k
Fork
7.3k
Merge medio
3g 3h
PR unite (30g)
91

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by comparing the import in diffusers/loaders/controlnet.py with the available definitions in diffusers/loaders/single_file_utils.py, then reproduce the reported import failure using the issue’s example. Trace the intended ControlNet single-file loading path and confirm that the import works without breaking related loading behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
machine-learning
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.