tenstorrent / tt-mlir

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

Unsupported reshape of tensor in TILE_LAYOUT to non-tile height and width #1097

Open meenakshiramanathan1 opened 1 month ago

meenakshiramanathan1 commented 1 month ago

Description

Reproduce

git checkoutmramanathan/squeeze_sanity
git submodule update --recursive
cmake --build build -- install_ttforge
pytest forge/test/mlir/test_ops.py::test_squeeze -vss

Observed Behaviour

RuntimeError: TT_THROW @ /proj_sw/user_dev/mramanathan/lab87_forge/tt-forge-fe/third_party/tt-mlir/third_party/tt-metal/src/tt-metal/ttnn/cpp/ttnn/operations/core/core.cpp:49: tt::exception
E       info:
E       Unable to reshape a tensor in TILE_LAYOUT to non-tile height and width! Please convert the tensor to ROW_MAJOR_LAYOUT first.

Logs

squeeze.log

nvukobratTT commented 2 weeks ago

@kamalrajkannan78 can you add TTIR for this issue as well? That way, it's much easier for MLIR folks to reproduce these issues without the need of running Forge-Fe as well :))

kamalrajkannan78 commented 2 weeks ago

TTIR graphs are present in attached log files @nvukobratTT