viable/strict/1788535633: [inductor] Eagerly load codegen heuristic modules (#194822) (#194822)
- PyTorch: 526 events in the last 90 days
- PyTorch: 520th Release in the last 90 days
- Previous: earlier the same day · viable/strict/1788532019
What happened
Summary: Force get_codegen_heuristic to import the concrete pointwise and reduction modules. This avoids relying on package import side effects that Cinder lazy imports can defer during packaged MTIA lowering. Add a Cinder-enabled regression test covering both heuristic lookups after the parent package has been cached. Test Plan: buck2 test fbcode//caffe2/test/inductor:codegen_heuristics_registry_lazy_imports Review…
Summary assembled by rule from the sources below