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

[TOSA] Add logit, log1p, log10 and add promote type to unary fponly ops #3900

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

justin-ngo-arm
Copy link
Contributor

  • Add Torch to TOSA legalization for the following ops:
    • torch.aten.logit
    • torch.aten.log1p
    • torch.aten.log10
  • Add promote to FP to FP-only TOSA ops like log and exp
  • Update xfail with new e2e results
  • Add new LIT tests to basic.mlir

Change-Id: I1cd7ec6964373dbaf08d419a806b3d735b830655

* Add Torch to TOSA legalization for the following ops:
    - torch.aten.logit
    - torch.aten.log1p
    - torch.aten.log10
* Add promote to FP to FP-only TOSA ops like log and exp
* Update xfail with new e2e results
* Add new LIT tests to basic.mlir

Signed-off-by: Justin Ngo <justin.ngo@arm.com>
Change-Id: I1cd7ec6964373dbaf08d419a806b3d735b830655
@sjarus
Copy link
Collaborator

sjarus commented Dec 2, 2024

Looks fine. Merging.

@sjarus sjarus merged commit 92d0f04 into llvm:main Dec 2, 2024
3 checks passed
@justin-ngo-arm justin-ngo-arm deleted the log branch December 2, 2024 20:02
rahuls-cerebras added a commit that referenced this pull request Jan 3, 2025
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

Successfully merging this pull request may close these issues.

2 participants