-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ttnn.hypot_bw low PCC #13776
Comments
|
Hi @amalbasaTT , When involving |
@KalaivaniMCW , |
I will need some additional time to analyse div_bw since it has way more parameters. checkout branch amalbasaTT/reciprocal-related-nonzero-sweeps to check the tests (hypot_nonzero.py and rdiv_bw_nonzero.py) |
I have tested rdiv_bw, hypot_bw and div_bw with inputs outside of range [-1, 1]. Before running the ops, i have converted inputs to ttnn tensor with dtype bfloat8_b and back to torch before running ops with them, so that i could ensure that all the inputs are non-zero after any eventual cut-off when converting them to ttnn tensor with bfloat8_b. Issue i found is that when input_tensor has bfloat8_b and "certain" shape, it produces an all-zero tensor (or tensors for binary ops). You can check details in issues i found bellow, i have provided a unit test and a sweep test for each op: Besides the issue i reported, all three ops work fine |
Describe the bug
ttnn.hypot_bw fails with low PCC when input_tensor_a and/or input_tensor_b has bfloat8_b dtype
To Reproduce
Steps to reproduce the behavior:
Sweep test for hypot_bw is located in 'tests/sweep_framework/sweeps/eltwise/binary_backward/hypot_bw/hypot_bw.py'
https://github.com/tenstorrent/tt-metal/tree/main/tests/sweep_framework
The text was updated successfully, but these errors were encountered: