Skip to content

eager_attention_forward and repeat_kv code duplication #38541

Open
@ChengLyu

Description

@ChengLyu

I see the two functions appear in a lot of places in the code base. Shall we unify them into a single place?

And can we treat eager_attention_forward as another option in ALL_ATTENTION_FUNCTIONS? Any concerns?

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