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

[Ops] Support for atan op (ttnn.atan) #1718

Open
kamalrajkannan78 opened this issue Jan 7, 2025 · 0 comments
Open

[Ops] Support for atan op (ttnn.atan) #1718

kamalrajkannan78 opened this issue Jan 7, 2025 · 0 comments
Milestone

Comments

@kamalrajkannan78
Copy link

kamalrajkannan78 commented Jan 7, 2025

@kamalrajkannan78 kamalrajkannan78 added this to the [FFE] Bringup milestone Jan 7, 2025
kamalrajkannan78 added a commit to tenstorrent/tt-forge-fe that referenced this issue Jan 15, 2025
## Summary

- This PR adds support for the ops needed for [#955]
- Both
[atan](https://docs.tenstorrent.com/tt-metal/latest/ttnn/ttnn/api/ttnn.atan.html#ttnn.atan)
& [atan2
](https://docs.tenstorrent.com/tt-metal/latest/ttnn/ttnn/api/ttnn.atan2.html#ttnn.atan2)exists
in ttnn. but atan2 not exist in [tvm
relay](https://tvm.apache.org/docs/reference/api/python/relay/index.html).
so mapping from aten::atan2 to ttnn.atan2 is not possible till we add
support for atan2 in TVM from scratch. so decomposition of atan2 using
atan is done at frontend.
- Issue raised for Atan op support from MLIR side -
tenstorrent/tt-mlir#1718

## Logs

-
[atan_after_fix.log](https://github.com/user-attachments/files/18351426/jan8_zz_atan_after_fix.log)
-
[atan2_after_fix.log](https://github.com/user-attachments/files/18351427/jan8_zz_atan2_after_fix.log)
-
[isnan_after_fix.log](https://github.com/user-attachments/files/18351429/jan8_zz_isnan_after_fix.log)
-
[nan_to_num_after_fix.log](https://github.com/user-attachments/files/18379955/jan10_nan_to_num_after_fix_1.log)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant