8000 Error when the infer_sr_scale is set to other values · Issue #15 · zai-org/Inf-DiT · GitHub
[go: up one dir, main page]

Skip to content

Error when the infer_sr_scale is set to other values #15

Open

Description

@chaixinning

Does the super-resolution task only support 4x? When I set the infer_sr_scale to 8 or 16, an error occurs:
"RuntimeError: k must have shape (batch_size, seqlen_k, num_heads_k, head_size_og)"

Activity

  1. yzy-thu commented on Jul 2, 2024

    @yzy-thu
    Contributor

    Yes, currently this model supports a maximum of 4x super-resolution. If you need higher multiple, you may need to do iterative super-resolution.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0