tenstorrent / tt-mlir

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

unsupported broadcast issue in Greater op #1081

Open kamalrajkannan78 opened 3 weeks ago

kamalrajkannan78 commented 3 weeks ago

Description

Reproduce

git checkout kkannan/greator_and_not_equal_mlir_op_issue
git submodule update --recursive
cmake --build build -- install_ttforge
pytest forge/test/mlir/test_ops.py::test_greater[shape_x0-1] -svv

Observed Behaviour

E       RuntimeError: TT_THROW @ /proj_sw/user_dev/kkannan/forge_oct21/tt-forge-fe/third_party/tt-mlir/third_party/tt-metal/src/tt-metal/ttnn/cpp/ttnn/operations/eltwise/binary/device/binary_device_operation.cpp:46: tt::exception
E       info:
E       ttnn::operations::binary::BinaryDeviceOperation: unsupported broadcast

Logs

nvukobratTT commented 5 days 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 4 days ago

TTIR graphs are present in attached log files @nvukobratTT