Skip to content

Fix magnitude, weight, flops metrics for GQA #338

@rheasukthanker

Description

@rheasukthanker

Describe the bug
Currently magnitude, weight, flops metric does not extract the correct subset of weights for GQA attention. Also the tests for these modules are not randomized, ie we set all weights to ones, this wrongly makes the tests pass for magnitude, even when the subset of weights selected is incorrect

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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