Skip to content

[REQUEST] FLOPS Profiler support scaled_dot_product_attention and __matmul__ #4723

@KimmiShi

Description

@KimmiShi

Currently, the flops profiler does not handle F.scaled_dot_product_attention in transformer models. And it also cannot get flops of expreesions like a@b. These defects affect the flops results.

Flops profile should handle the cases decribed above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions