Skip to content

Some bugs in FLUX pipeline #10111

Description

@chenxiao111222

Describe the bug

  1. missing self.theta in get_1d_rotary_pos_embed:
    https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/embeddings.py#L961-L963
  2. if prompt_embeds is None, pooled_prompt_embeds will never be computed:
    https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/flux/pipeline_flux.py#L348-L363

Reproduction

.

Logs

No response

System Info

.

Who can help?

@yiyixuxu@sayakpaul@DN6@asomoza

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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