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] support non-constant torch scalar in BasicOps #1134

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

tanyokwok
Copy link
Collaborator

See RFC #999

Co-authored-by: Bairen Yi yibairen.byron@bytedance.com
Co-authored-by: Jiawei Wu xremold@gmail.com
Co-authored-by: Tianyou Guo tianyou.gty@alibaba-inc.com
Co-authored-by: Xu Yan yancey.yx@alibaba-inc.com
Co-authored-by: Ziheng Jiang ziheng.jiang@bytedance.com

See RFC llvm#999

Co-authored-by: Bairen Yi yibairen.byron@bytedance.com
Co-authored-by: Jiawei Wu xremold@gmail.com
Co-authored-by: Tianyou Guo tianyou.gty@alibaba-inc.com
Co-authored-by: Xu Yan yancey.yx@alibaba-inc.com
Co-authored-by: Ziheng Jiang ziheng.jiang@bytedance.com
@tanyokwok
Copy link
Collaborator Author

This PR adds support for non-const scalar parameters used in add/sub/mul/div/binOps etc. Please review for me @silvasean @ZihengJiang @Vremold

Copy link
Contributor

@silvasean silvasean left a comment

Choose a reason for hiding this comment

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

Great!

@tanyokwok tanyokwok merged commit 0b23af2 into llvm:main Aug 3, 2022
@tanyokwok tanyokwok deleted the upstream-03-patch-basic-ops branch August 3, 2022 00:16
qedawkins pushed a commit to nod-ai/torch-mlir that referenced this pull request Oct 3, 2022
* remove usage of deprected FunctionPass

Signed-off-by: ian Bearman <ianb@microsoft.com>
Co-authored-by: Alexandre Eichenberger <alexe@us.ibm.com>
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