KEMBAR78
[decomp] Add all std and std_mean overloads to core decompostions by peterbell10 · Pull Request #109667 · pytorch/pytorch · GitHub
Skip to content

Conversation

@pytorch-bot
Copy link

pytorch-bot bot commented Sep 20, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/109667

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 525f360 with merge base 595af26 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

aten.special_xlog1py,
aten.std.correction,
aten.std,
aten.std_mean,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you also register the std_mean decomposition for all the std_mean variants, rather than only the correction one?

…ostions"

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx ipiszy ngimel yf225 chenyang78 kadeng muchulee8 aakhundov

[ghstack-poisoned]
@peterbell10 peterbell10 added the topic: not user facing topic category label Sep 20, 2023
pytorchmergebot pushed a commit that referenced this pull request Sep 20, 2023
…9668)

The "safety" aspect refers to the output not being registered as aliasing the
input, but after AOTAutograd I don't think this distinction matters. However,
we shouldn't use the same decomposition as the safe variant in case the backend
doesn't want to decompose split.

Pull Request resolved: #109668
Approved by: https://github.com/lezcano
ghstack dependencies: #109667
pytorchmergebot pushed a commit that referenced this pull request Sep 20, 2023
As per the old comment, decomposing is better than lowering because patterns for
`view` would apply to `_unsafe_view` as well.

https://github.com/salilsdesai/pytorch/blob/fc47ba2794564592a243b8b3484b5cfee1e72fda/torch/_inductor/decomposition.py#L89

Pull Request resolved: #109669
Approved by: https://github.com/lezcano
ghstack dependencies: #109667, #109668
@facebook-github-bot facebook-github-bot deleted the gh/peterbell10/615/head branch September 24, 2023 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants