tt-metal: BH TTNN Unit failure in test for reduction

https://github.com/tenstorrent/tt-metal/actions/runs/14918580796/job/41909745136

FAILED tests/ttnn/unit_tests/operations/reduce/test_reduction.py::test_2d_topk[dtype=DataType.BFLOAT16-largest=True-k=50-dim=1-dim2=50257-dim1=1] - AssertionError: Cosine similarity between topk values and gather from indices is less than 0.99
assert TorchTensor(0.980, dtype=torch.bfloat16) > 0.99

0.98 is close to 0.99.

Might be other errors in test_reduction.py as well.

Need to be investigated.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (15 by maintainers)

Commits related to this issue

Most upvoted comments

@jasondavies I have updated the branch with a fix to the unit tests so that it fails for all seeds. This will reliably reproduce the error on both blackhole and wormhole.