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

Clean up shape functions that use sum_mean_dim #1217

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

ramiro050
Copy link
Collaborator

@ramiro050 ramiro050 commented Aug 12, 2022

I recently fixed the handling of the dim argument in
sum_mean_dim (pytorch/pytorch@59fccab). Therefore,
the checks that the dim input is None or [] are no longer needed.

@ramiro050 ramiro050 force-pushed the update-shape-funcs branch 2 times, most recently from cbd088b to 1855de7 Compare August 12, 2022 23:26
@ramiro050
Copy link
Collaborator Author

Waiting for pytorch/pytorch#83357 to land.

@vivekkhandelwal1
Copy link
Collaborator

Hi @ramiro050, I think this PR by @qedawkins has also addressed some parts of this issue. #1236

I recently fixed the handling of the `dim` argument in
`sum_mean_dim` (pytorch/pytorch@59fccab). Therefore,
the checks that the `dim` input is `None` or `[]` are no longer needed.
@ramiro050
Copy link
Collaborator Author

@vivekkhandelwal1 @Shukla-Gaurav, PTAL

@ramiro050 ramiro050 changed the title Replace mean_dim with sum_mean_dim in shape lib + fix arange Clean up shape functions that use sum_mean_dim Aug 17, 2022
Copy link
Collaborator

@vivekkhandelwal1 vivekkhandelwal1 left a comment

Choose a reason for hiding this comment

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

LGTM

@ramiro050 ramiro050 merged commit f07f7d2 into llvm:main Aug 18, 2022
@ramiro050 ramiro050 deleted the update-shape-funcs branch August 18, 2022 15:23
qedawkins pushed a commit to nod-ai/torch-mlir that referenced this pull request Oct 3, 2022
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