Skip to content

cannot import name 'Flux2KleinPipeline' from 'diffusers' #13087

@Ikkyu321

Description

@Ikkyu321

Describe the bug

I encountered an issue with the diffusers library and have a question to ask: the installed diffusers library is inconsistent with its source code, as the Flux2KleinPipeline class is missing from the installed version. Could you tell me what might be the cause of this problem?

version:
root@d6fb74273191:/data# pip list | grep diffusers
diffusers 0.36.0

root@d6fb74273191:/data# cat /usr/local/lib/python3.12/dist-packages/diffusers/init.py | grep Flux
Image

Reproduction

from diffusers import Flux2KleinPipeline

Logs

Traceback (most recent call last):
  File "/data/test_image.py", line 3, in <module>
    from diffusers import Flux2KleinPipeline
ImportError: cannot import name 'Flux2KleinPipeline' from 'diffusers' (/usr/local/lib/python3.12/dist-packages/diffusers/__init__.py). Did you mean: 'Flux2Pipeline'?

System Info

Ubuntu 22.4

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