[inductor][template heuristics] don't take layout to generate choices#162238
[inductor][template heuristics] don't take layout to generate choices#162238coconutruben wants to merge 5 commits intogh/coconutruben/64/basefrom
Conversation
\# why - unnecessary as we only ever need to know the dtype and maybe the device - we already take in the kernel inputs which have the device - enable us to specify the layout after finding all the configs but before generating the ChoiceCallers \# what - replace all calls in template_heuristics that used to take Layout with now just taking out_dtype \# testing ci [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/162238
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit d11f501 with merge base 5babb4d ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…ate choices" \# why - unnecessary as we only ever need to know the dtype and maybe the device - we already take in the kernel inputs which have the device - enable us to specify the layout after finding all the configs but before generating the ChoiceCallers \# what - replace all calls in template_heuristics that used to take Layout with now just taking out_dtype \# testing ci [ghstack-poisoned]
…ate choices" \# why - unnecessary as we only ever need to know the dtype and maybe the device - we already take in the kernel inputs which have the device - enable us to specify the layout after finding all the configs but before generating the ChoiceCallers \# what - replace all calls in template_heuristics that used to take Layout with now just taking out_dtype \# testing ci [ghstack-poisoned]
…ate choices" # why - unnecessary as we only ever need to know the dtype and maybe the device - we already take in the kernel inputs which have the device - enable us to specify the layout after finding all the configs but before generating the ChoiceCallers # what - replace all calls in template_heuristics that used to take Layout with now just taking out_dtype # testing 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. |
1 similar comment
|
@coconutruben has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
…ate choices" # why - unnecessary as we only ever need to know the dtype and maybe the device - we already take in the kernel inputs which have the device - enable us to specify the layout after finding all the configs but before generating the ChoiceCallers # what - replace all calls in template_heuristics that used to take Layout with now just taking out_dtype # testing ci cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov Differential Revision: [D81820115](https://our.internmc.facebook.com/intern/diff/D81820115) [ghstack-poisoned]
|
@coconutruben has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
…pytorch#162238) # why - unnecessary as we only ever need to know the dtype and maybe the device - we already take in the kernel inputs which have the device - enable us to specify the layout after finding all the configs but before generating the ChoiceCallers # what - replace all calls in template_heuristics that used to take Layout with now just taking out_dtype # testing ci Differential Revision: [D81820115](https://our.internmc.facebook.com/intern/diff/D81820115) Pull Request resolved: pytorch#162238 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161347, pytorch#161348, pytorch#161349
…pytorch#162238) # why - unnecessary as we only ever need to know the dtype and maybe the device - we already take in the kernel inputs which have the device - enable us to specify the layout after finding all the configs but before generating the ChoiceCallers # what - replace all calls in template_heuristics that used to take Layout with now just taking out_dtype # testing ci Differential Revision: [D81820115](https://our.internmc.facebook.com/intern/diff/D81820115) Pull Request resolved: pytorch#162238 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161347, pytorch#161348, pytorch#161349
…pytorch#162238) # why - unnecessary as we only ever need to know the dtype and maybe the device - we already take in the kernel inputs which have the device - enable us to specify the layout after finding all the configs but before generating the ChoiceCallers # what - replace all calls in template_heuristics that used to take Layout with now just taking out_dtype # testing ci Differential Revision: [D81820115](https://our.internmc.facebook.com/intern/diff/D81820115) Pull Request resolved: pytorch#162238 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161347, pytorch#161348, pytorch#161349
…pytorch#162238) # why - unnecessary as we only ever need to know the dtype and maybe the device - we already take in the kernel inputs which have the device - enable us to specify the layout after finding all the configs but before generating the ChoiceCallers # what - replace all calls in template_heuristics that used to take Layout with now just taking out_dtype # testing ci Differential Revision: [D81820115](https://our.internmc.facebook.com/intern/diff/D81820115) Pull Request resolved: pytorch#162238 Approved by: https://github.com/eellison ghstack dependencies: pytorch#161347, pytorch#161348, pytorch#161349
Stack from ghstack (oldest at bottom):
why
device
but before generating the ChoiceCallers
what
with now just taking out_dtype
testing
ci
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov
Differential Revision: D81820115