Skip to content

An error occurred when evaluating(ValueError: Incompatible shapes for attention inputs) #5

@YifanLiang-hust

Description

@YifanLiang-hust

An error occurred when evaluating:
ValueError: Incompatible shapes for attention inputs:
query.shape: torch.Size([20, 9216, 64])
key.shape : torch.Size([40, 77, 64])
value.shape: torch.Size([40, 77, 64])
HINT: We don't support broadcasting, please use expand yourself before calling memory_efficient_attention if you need to
what should I do to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions