Skip to content

[wave <-> water] support complete roundtripping of attention #1019

@martin-luecke

Description

@martin-luecke

The MLIR roundtrip (FX -> Water MLIR -> FX) currently passes all 47 compilation stages for GEMM but fails at every stage for vanilla attention. Running the progressive roundtrip test reveals different distinct root causes that together block all 47 passes. Fixing these will bring attention to full roundtrip parity with GEMM.

An initial investigation shows 4 issues, but more might come up after fixing these:

Sub-issues

Metadata

Metadata

Assignees

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