Skip to content
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

[Bug Report] Incorrect output When Using Mixed uint8 and bfloat16 Formats in Compute Kernel #12963

Open
ilkoo-lee opened this issue Sep 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working LLK moreh moreh contribution P1_critical

Comments

@ilkoo-lee
Copy link
Contributor

ilkoo-lee commented Sep 21, 2024

Describe the bug
We discovered a new bug while investigating issue #11962.
I found that the output results are incorrect when mixing bfloat16 and uint8 in the compute kernel while using them in the CB and DST registers.

To Reproduce
branch : ilkoo/uint8_dst_reg

compute kernel : https://github.com/tenstorrent/tt-metal/blob/ilkoo/uint8_dst_reg/ttnn/cpp/ttnn/deprecated/tt_dnn/op_library/moreh_test2/kernels/moreh_test2.cpp

To reproduce the error, run the following command from the ilkoo/uint8_dst_reg branch:
pytest tests/tt_eager/python_api_testing/unit_testing/misc/test_moreh_test2.py

This branch includes the changes from rd/stall_unpack_reconfig.

It does not occur when mixing float32 and uint8.

Expected behavior
The expected output (PASSED) should be produced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working LLK moreh moreh contribution P1_critical
Projects
None yet
Development

No branches or pull requests

2 participants