huggingface / huggingface/diffusers
diffusers,hugging-face and tokenizers 0.14.1 ,they have a compatiable version
- Lenguaje dominante
- Python
- Estrellas
- 34.5k
- Forks
- 7.3k
- Merge medio
- 3 d 3 h
- PR fusionados (30 d)
- 91
Descripción
### 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_
Guía de contribución
Línea de trabajo
Comienza reproduciendo la importación en src/models/unet_2d_condition.py con el entorno de Python 3.8 indicado y las versiones instaladas de huggingface-hub, diffusers y tokenizers. Compara las exportaciones disponibles de diffusers.utils con la importación de USE_PEFT_BACKEND; se considera terminado cuando la aplicación indicada se inicia sin este ImportError con un conjunto de dependencias compatibles documentado.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- huggingface, python
- Área
- machine-learning
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 28/100