Skip to content

Flax pipeline: width and height are ignored #838

@pcuenca

Description

@pcuenca

Describe the bug

width and height are passed to the generate function, and we do check that they are multiples of 8, but then we always create the latents using the standard size.

Reproduction

images = pipeline(prompt_ids, p_params, rng, width=448, height=832, jit=True)[0]
images.shape
# output: (8, 1, 512, 512, 3)

Logs

No response

System Info

Tested on TPU v3-8 with diffusers @ e48ca0f

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