ttnn.remainder_bw binary doesn't support ROW_MAJOR layout despite what it says in the documentation. When any/all of the input tensors have ROW_MAJOR layout, the FATAL error "Inputs to eltwise binary must be tilized" is thrown.
To Reproduce
Steps to reproduce the behavior:
Sweep test for remainder_bw is located in 'tests/sweep_framework/sweeps/eltwise/binary_backward/remainder_bw/remainder_bw.py'
Checkout branch amalbasaTT/backward_ops-sweeps-4 (soon to be merged to main)
Go to 'tests/sweep_framework/sweeps/eltwise/binary_backward/remainder_bw/remainder_bw.py'
Remove next lines of code from the invalidate_vector function:
if test_vector["input_layout"] == ttnn.ROW_MAJOR_LAYOUT:
return True, "Inputs to eltwise binary must be tilized"
Generate new parameter vectors and run the sweep test
ttnn.remainder_bw binary doesn't support ROW_MAJOR layout despite what it says in the documentation. When any/all of the input tensors have ROW_MAJOR layout, the FATAL error "Inputs to eltwise binary must be tilized" is thrown.
To Reproduce Steps to reproduce the behavior: Sweep test for remainder_bw is located in 'tests/sweep_framework/sweeps/eltwise/binary_backward/remainder_bw/remainder_bw.py'
https://github.com/tenstorrent/tt-metal/tree/main/tests/sweep_framework
Expected behavior For vectors with
input_layout
being ROW_MAJOR_LAYOUT, test will fail with the message "Inputs to eltwise binary must be tilized"