tenstorrent / tt-mlir

Tenstorrent MLIR compiler
https://tenstorrent.github.io/tt-mlir/
Apache License 2.0
78 stars 13 forks source link

[StableHLO] Transpose op failure #849

Open mmanzoorTT opened 2 months ago

mmanzoorTT commented 2 months ago

StableHLO to TTIR conversion fails to legalize transpose op for 3 and higher dimensional tensors. A sample test case can be found in tt-xla PR

sdjordjevicTT commented 1 month ago

Is this a duplicate of this? https://github.com/tenstorrent/tt-mlir/issues/558

We filed an issue on metal regarding the support of -3 dim on transpose, and they are working on it: https://github.com/tenstorrent/tt-metal/issues/13005

mmanzoorTT commented 1 month ago

This issue depends on #558 (not a duplicate). We need to fix stableHLO to TTIR conversion in StableHLOToTTIRPatterns.cpp as well once #558 is resolved.

sdjordjevicTT commented 1 month ago

Oh, I get it, thanks! Can you please tag these kinds of issues with the appropriate component? This one should go to Third Party Dialects...