Skip to content

[TorchToLinalg] AtenMatmulOp lowering doesn't promote to an accumulator type #4428

@zjgarvey

Description

@zjgarvey

We should align it with the likes of bmm, mm, conv, etc. Currently, a bf16 matmul does not accumulate to f32, which is almost certainly incorrect.

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