Skip to content

Speed of linear attention slower than the attention implemented in pytorch  #130

@yzeng58

Description

@yzeng58

I was testing the speed of linear attention, but found that its speed is slower than the standard attention implemented in pytorch. Could you help me to understand this? Is this because the pytorch implementation include flash attention?

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