Skip to content

Flax pipeline: width and height are ignored #838

Closed

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

Activity

  1. added
    bug
    on Oct 14, 2022
  2. NightMachinery commented on Oct 15, 2022

    @NightMachinery

    Does the model work with a custom resolution? Isn't it only trained on 512x512?

    How high can we go on Colab's TPUs?

  3. patrickvonplaten commented on Oct 17, 2022

    @patrickvonplaten
    Contributor

    Haven't tested the max resolution that's possible yet - would also be interested in such numbers :-)

  4. github-actions commented on Nov 13, 2022

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

    Please note that issues that do not follow the contributing guidelines are likely to be ignored.

  5. added
    stale
    on Nov 13, 2022
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

    bugstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions