You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ttnn.div_bw doesn't support ROW_MAJOR layout despite what it says in the documentation. When one or both of the input tensors has 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 div_bw is located in 'tests/sweep_framework/sweeps/eltwise/unary_backward/div_bw/div_bw.py'
Go to 'tests/sweep_framework/sweeps/eltwise/unary_backward/div_bw/div_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
See error. Results can be found on elastic cloud as explained here: https://github.com/tenstorrent/tt-metal/tree/main/tests/sweep_framework
Expected behavior
For vectors with grad_layout and input_a_layout being ROW_MAJOR_LAYOUT, test will fail with the message "inputs to eltwise binary must be tilized"
The text was updated successfully, but these errors were encountered:
ttnn.div_bw doesn't support ROW_MAJOR layout despite what it says in the documentation. When one or both of the input tensors has 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 div_bw is located in 'tests/sweep_framework/sweeps/eltwise/unary_backward/div_bw/div_bw.py'
https://github.com/tenstorrent/tt-metal/tree/main/tests/sweep_framework
Expected behavior
For vectors with
grad_layout
andinput_a_layout
being ROW_MAJOR_LAYOUT, test will fail with the message "inputs to eltwise binary must be tilized"The text was updated successfully, but these errors were encountered: