huggingface / huggingface/diffusers

diffusers,hugging-face and tokenizers 0.14.1 ,they have a compatiable version

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

Descrizione

### Describe the bug

I downloaded them by pip ,and their version :huggingface-hub 0.17.3 diffusers 0.21.4
tokenizers 0.14.1 .
but when i run them, there always has an error :
Traceback (most recent call last):
File "/root/sj-tmp/migrate/echomimic-main/echomimic_api/app.py", line 34, in
from src.models.unet_2d_condition import UNet2DConditionModel
File "/root/sj-tmp/migrate/echomimic-main/src/models/unet_2d_condition.py", line 30, in
� from diffusers.utils import (
ImportError: cannot import name 'USE_PEFT_BACKEND' from 'diffusers.utils' (/root/sj-tmp/conda_envs/echomimic38/lib/python3.8/site-packages/diffusers/utils/__init__.py)

but i didn't edit the source code

### Reproduction

i have a program that uses the tool including that above

### Logs

```shell

```

### System Info

python 3.8 + conda in a docker container

### Who can help?

_No response_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing the import in src/models/unet_2d_condition.py with the reported Python 3.8 environment and installed versions of huggingface-hub, diffusers, and tokenizers. Compare the available diffusers.utils exports with the import of USE_PEFT_BACKEND; done means the reported application starts without this ImportError under a documented compatible dependency set.

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

Valutazione

Stack tecnologico
huggingface, 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
28/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.