Open kevinwuTT opened 1 week ago
@kevinwuTT , can we attach this to any aten operation in scope of any of the pytorch sprints?
@ayerofieiev-tt I came across this issue with test_conv2d when removing layout changes and I got mismatching results. Our current aten.convolution
lowering uses reshapes.
I just tested it and this issue is resolved in this PR https://github.com/tenstorrent/tt-metal/pull/15572
Describe the bug When calling
ttnn.reshape
for certain input and output sizes, the output values are different depending on whether the input was tilized or row major.To Reproduce
Expected behavior Calling
ttnn.reshape
with input shape(1, 56, 56, 64)
and output shape(1, 1, 3136, 64)
does not produce matching outputs when input tensor is inTILE_LAYOUT
vsROW_MAJOR_LAYOUT
. Notice the trailing 0s in the output tensor for the TILE_LAYOUT process.For the following input and output shapes, the output values match as expected.
Please complete the following environment information: