Skip to content

Cannot import name 'DIFFUSERS_SLOW_IMPORT' from 'diffusers.utils'  #6636

@Eneskoser

Description

@Eneskoser

Describe the bug

I got errors like below while I was using lpw_stable_diffusion

ImportError: cannot import name 'DIFFUSERS_SLOW_IMPORT' from 'diffusers.utils'
(/usr/local/lib/python3.10/dist-packages/diffusers/utils/init.py)

Reproduction

1 from typing import TYPE_CHECKING │
│ 2 │
│ ❱ 3 from ..utils import DIFFUSERS_SLOW_IMPORT, _LazyModule, deprecate │
│ 4 from ..utils.import_utils import is_torch_available, is_transformers_available

Logs

No response

System Info

diffusers==0.25.1

Who can help?

@sayakpaul @patrickvonplaten

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleIssues that haven't received updates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions