[Python] ImportError: cannot import name 'DIFFUSERS_SLOW_IMPORT' from 'diffusers.utils'

Discussão em 'Python' iniciado por Stack, Março 10, 2025.

  1. Stack

    Stack Membro Participativo

    When using diffusers like

    from diffusers import AutoencoderKL, DDPMScheduler, UNet2DConditionModel


    I get the following error:

    ImportError: cannot import name 'DIFFUSERS_SLOW_IMPORT' from 'diffusers.utils' (/opt/conda/lib/python3.10/site-packages/diffusers/utils/__init__.py)


    Also tried downgrading the version to 0.26.3 , but didn't help.

    Diffusers version : 0.27.2

    Continue reading...

Compartilhe esta Página