-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[decomp] Add all std and std_mean overloads to core decompostions #109667
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
Conversation
[ghstack-poisoned]
🔗 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 FailuresAs of commit 525f360 with merge base 595af26 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
| aten.special_xlog1py, | ||
| aten.std.correction, | ||
| aten.std, | ||
| aten.std_mean, |
There was a problem hiding this comment.
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]
…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
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
Stack from ghstack (oldest at bottom):
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @ipiszy @ngimel @yf225 @chenyang78 @kadeng @muchulee8 @aakhundov