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

[MHLO] add aten::gelu op pattern #1127

Merged
merged 4 commits into from
Aug 2, 2022
Merged

Conversation

Yancey1989
Copy link
Collaborator

@Yancey1989 Yancey1989 commented Aug 1, 2022

See RFC #999
This PR added the aten::gelu op pattern and move some unit tests from basic.mlir to elementwise.mlir

Co-authored-by: Jiawei Wu [email protected]
Co-authored-by: Tianyou Guo [email protected]
Co-authored-by: Xu Yan [email protected]
Co-authored-by: Ziheng Jiang [email protected]

@byronyi
Copy link
Collaborator

byronyi commented Aug 1, 2022

Nit: you don't have to list me as co-author; I have not directly involved in development of this patch :)

@Vremold
Copy link
Collaborator

Vremold commented Aug 1, 2022

Could we reorganize the test files? Since there are already many unittest cases of element-wise ops (like AtenReluOp) in "basic.mlir".

Copy link
Collaborator

@tanyokwok tanyokwok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Yancey1989 Yancey1989 merged commit 704efdc into llvm:main Aug 2, 2022
@Yancey1989 Yancey1989 deleted the add_gelu_op branch August 2, 2022 07:01
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.

5 participants