← Back to events
ActiveAIRelease

ciflow/trunk/194822: [inductor] Eagerly load codegen heuristic modules (#194822)

Photo: PyTorch Releases

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

Why it's spreading

Sources