Skip to content

Question about flops count #22

@shuimushan

Description

@shuimushan

I ran the run_flops.dist and got the warnings below:

WARNING:root:Skipped operation aten::layer_norm 76 time(s)
WARNING:root:Skipped operation aten::mul_ 152 time(s)
WARNING:root:Skipped operation aten::gelu 114 time(s)
WARNING:root:Skipped operation aten::upsample_nearest2d 22 time(s)
WARNING:root:Skipped operation aten::upsample_bilinear2d 22 time(s)
WARNING:root:Skipped operation aten::avg_pool2d 1 time(s)

the flops for hrt_tiny was indeed 1.83G though
So does it mean that the operations in the warnings should not be considered when calculating flops?

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