Open dmakoviichuk-tt opened 1 month ago
Hi @bbradelTT it is pretty important for us and we are waiting more then one month for a fix. Could you help us?
I replaced the random values with non random values. E.g. the input is all 5s. What seems to be happening is that the padded shape is used, with padding being 0. Which means that instead of 5/1 it's (5+0+0+..)/32 for shape instead of one value it's one tile
Closing. Note that for larger tensors, the PCC will still be potentially bad until #13621 is fixed.
@bbradelTT I don't think it's a good reason for ticket to be closed. Please keep it open until it's fixed in main. Thanks in advance!
Describe the bug Ttnn::mean loses real shape and returns unexpected values Loss before mean: shape: ttnn.Shape([32, 1, 128, 1[32]]) min: 1.5390625 max: 7.59375 mean: 4.6160088 input tensor: shape: ttnn.Shape([32, 1, 128, 1[32]]) min: 1.5390625 max: 7.59375 mean: 4.6160088 mean tensor: shape: ttnn.Shape([1, 1, 32, 32]) min: 0 max: 0.14453125 mean: 0.0001411438 Loss after mean: shape: ttnn.Shape([1, 1, 32, 32]) min: 0 max: 0.14453125 mean: 0.0001411438
To Reproduce
Expected behavior ttnn.mean should return mean and right shape.
Additional context Add any other context about the problem here.