[inductor] remove hardcoded mapping to resolve ops from ExternKernelSchedulerNode #147137
Labels
module: inductor
oncall: pt2
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Uh oh!
There was an error while loading. Please reload this page.
🐛 Describe the bug
https://github.com/pytorch/pytorch/pull/146992/files#r1953070064
during runtime estimation, we use this reverse map to lookup ops contained in ExternKernelSchedulerNode
pytorch/torch/_inductor/scheduler.py
Lines 924 to 930 in b0553ce
i've been wanting to find an existing registration system, per @eellison one alternative can be FlopCounter registrations
Versions
main
cc @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @amjames @aakhundov
The text was updated successfully, but these errors were encountered: