Skip to content

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

@coderXEi

Description

@coderXEi

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

System Info

python 3.8 + conda in a docker container

Who can help?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions