[inductor][choices] rename get_mm_configs to get_template_configs#162293
[inductor][choices] rename get_mm_configs to get_template_configs#162293coconutruben wants to merge 9 commits intogh/coconutruben/66/basefrom
Conversation
\# why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming \# what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs \# testing - lintrunner - ci [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/162293
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit ed46785 with merge base 468c1f9 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…configs" \# why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming \# what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs \# testing - lintrunner - ci cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov [ghstack-poisoned]
|
@coconutruben has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@coconutruben has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@coconutruben has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
…configs" \# why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming \# what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs \# testing - lintrunner - ci cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov Differential Revision: [](https://our.internmc.facebook.com/intern/diff/) Differential Revision: [D81820641](https://our.internmc.facebook.com/intern/diff/D81820641) [ghstack-poisoned]
|
@coconutruben has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
…configs" \# why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming \# what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs \# testing - lintrunner - ci cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov Differential Revision: [](https://our.internmc.facebook.com/intern/diff/) Differential Revision: [D81820641](https://our.internmc.facebook.com/intern/diff/D81820641) [ghstack-poisoned]
…configs" \# why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming \# what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs \# testing - lintrunner - ci cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov Differential Revision: [](https://our.internmc.facebook.com/intern/diff/) Differential Revision: [D81820641](https://our.internmc.facebook.com/intern/diff/D81820641) [ghstack-poisoned]
|
@coconutruben has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
…configs" \# why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming \# what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs \# testing - lintrunner - ci cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov Differential Revision: [](https://our.internmc.facebook.com/intern/diff/) Differential Revision: [D81820641](https://our.internmc.facebook.com/intern/diff/D81820641) [ghstack-poisoned]
…configs" \# why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming \# what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs \# testing - lintrunner - ci cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov Differential Revision: [](https://our.internmc.facebook.com/intern/diff/) Differential Revision: [D81820641](https://our.internmc.facebook.com/intern/diff/D81820641) [ghstack-poisoned]
…configs" \# why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming \# what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs \# testing - lintrunner - ci cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov Differential Revision: [](https://our.internmc.facebook.com/intern/diff/) Differential Revision: [D81820641](https://our.internmc.facebook.com/intern/diff/D81820641) [ghstack-poisoned]
|
@coconutruben has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
…figs (#162293)" This reverts commit 30191fc. Reverted #162293 on behalf of https://github.com/huydhn due to Check with @coconutruben and the internal failures look real ([comment](#161351 (comment)))
|
@coconutruben your PR has been reverted as part of the stack under #161351. |
…configs" # why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming # what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs # testing - lintrunner - ci cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov Differential Revision: [D81820641](https://our.internmc.facebook.com/intern/diff/D81820641) [ghstack-poisoned]
|
@coconutruben has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
Starting merge as part of PR stack under #161468 |
# why enable caching/overriding/filtering based on src hash later # what - KernelTemplate has a src_hash that is None by default - sha256 on TritonTemplate of the template src code - None on ExternKernelChoice to have same API # testing n/a (not in use in this change) Differential Revision: [](https://our.internmc.facebook.com/intern/diff/) Differential Revision: [D81821149](https://our.internmc.facebook.com/intern/diff/D81821149) Pull Request resolved: #161468 Approved by: https://github.com/eellison ghstack dependencies: #161351, #161350, #162293
…torch#162293) # why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming # what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs # testing - lintrunner - ci Differential Revision: [D81820641](https://our.internmc.facebook.com/intern/diff/D81820641) Pull Request resolved: pytorch#162293 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161351, pytorch#161350
…figs (pytorch#162293)" This reverts commit 30191fc. Reverted pytorch#162293 on behalf of https://github.com/huydhn due to Check with @coconutruben and the internal failures look real ([comment](pytorch#161351 (comment)))
…torch#162293) # why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming # what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs # testing - lintrunner - ci Differential Revision: [D81820641](https://our.internmc.facebook.com/intern/diff/D81820641) Pull Request resolved: pytorch#162293 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161351, pytorch#161350
# why enable caching/overriding/filtering based on src hash later # what - KernelTemplate has a src_hash that is None by default - sha256 on TritonTemplate of the template src code - None on ExternKernelChoice to have same API # testing n/a (not in use in this change) Differential Revision: [](https://our.internmc.facebook.com/intern/diff/) Differential Revision: [D81821149](https://our.internmc.facebook.com/intern/diff/D81821149) Pull Request resolved: pytorch#161468 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161351, pytorch#161350, pytorch#162293
…torch#162293) # why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming # what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs # testing - lintrunner - ci Differential Revision: [D81820641](https://our.internmc.facebook.com/intern/diff/D81820641) Pull Request resolved: pytorch#162293 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161351, pytorch#161350
…figs (pytorch#162293)" This reverts commit 30191fc. Reverted pytorch#162293 on behalf of https://github.com/huydhn due to Check with @coconutruben and the internal failures look real ([comment](pytorch#161351 (comment)))
…torch#162293) # why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming # what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs # testing - lintrunner - ci Differential Revision: [D81820641](https://our.internmc.facebook.com/intern/diff/D81820641) Pull Request resolved: pytorch#162293 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161351, pytorch#161350
# why enable caching/overriding/filtering based on src hash later # what - KernelTemplate has a src_hash that is None by default - sha256 on TritonTemplate of the template src code - None on ExternKernelChoice to have same API # testing n/a (not in use in this change) Differential Revision: [](https://our.internmc.facebook.com/intern/diff/) Differential Revision: [D81821149](https://our.internmc.facebook.com/intern/diff/D81821149) Pull Request resolved: pytorch#161468 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161351, pytorch#161350, pytorch#162293
…torch#162293) # why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming # what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs # testing - lintrunner - ci Differential Revision: [D81820641](https://our.internmc.facebook.com/intern/diff/D81820641) Pull Request resolved: pytorch#162293 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161351, pytorch#161350
…figs (pytorch#162293)" This reverts commit 30191fc. Reverted pytorch#162293 on behalf of https://github.com/huydhn due to Check with @coconutruben and the internal failures look real ([comment](pytorch#161351 (comment)))
…torch#162293) # why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming # what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs # testing - lintrunner - ci Differential Revision: [D81820641](https://our.internmc.facebook.com/intern/diff/D81820641) Pull Request resolved: pytorch#162293 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161351, pytorch#161350
# why enable caching/overriding/filtering based on src hash later # what - KernelTemplate has a src_hash that is None by default - sha256 on TritonTemplate of the template src code - None on ExternKernelChoice to have same API # testing n/a (not in use in this change) Differential Revision: [](https://our.internmc.facebook.com/intern/diff/) Differential Revision: [D81821149](https://our.internmc.facebook.com/intern/diff/D81821149) Pull Request resolved: pytorch#161468 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161351, pytorch#161350, pytorch#162293
…torch#162293) # why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming # what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs # testing - lintrunner - ci Differential Revision: [D81820641](https://our.internmc.facebook.com/intern/diff/D81820641) Pull Request resolved: pytorch#162293 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161351, pytorch#161350
…figs (pytorch#162293)" This reverts commit 30191fc. Reverted pytorch#162293 on behalf of https://github.com/huydhn due to Check with @coconutruben and the internal failures look real ([comment](pytorch#161351 (comment)))
…torch#162293) # why - eventually we want all templates to go through this - we're exposing this through diode as a sort of interface/API - avoid later renaming # what - rename get_mm_configs to get_template_configs - rename _finalize_mm_configs to _finalize_template_configs # testing - lintrunner - ci Differential Revision: [D81820641](https://our.internmc.facebook.com/intern/diff/D81820641) Pull Request resolved: pytorch#162293 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161351, pytorch#161350
# why enable caching/overriding/filtering based on src hash later # what - KernelTemplate has a src_hash that is None by default - sha256 on TritonTemplate of the template src code - None on ExternKernelChoice to have same API # testing n/a (not in use in this change) Differential Revision: [](https://our.internmc.facebook.com/intern/diff/) Differential Revision: [D81821149](https://our.internmc.facebook.com/intern/diff/D81821149) Pull Request resolved: pytorch#161468 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161351, pytorch#161350, pytorch#162293
Stack from ghstack (oldest at bottom):
why
what
testing
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov
Differential Revision: D81820641