PyTorch: [MTIA][Inductor] Add FIE C++ wrapper scaffold (#200206)
Summary: Add an MTIA Full Inductor Eager C++ wrapper codegen scaffold with eager-only backend registration, ABI-correct tensor/scalar launch slots, and an explicit fail-fast native launch seam.
Executive Summary
Summary: Add an MTIA Full Inductor Eager C++ wrapper codegen scaffold with eager-only backend registration, ABI-correct tensor/scalar launch slots, and an explicit fail-fast native launch seam. Unsupported launch forms remain codegen errors until the native MTIA adapter is implemented. current selection chain: init_eager_backend() -> register_mtia_backend() -> register_backend_for_device("mtia", cpp_wrapper=MTIACppWrapperCodeGen) -> GraphLowering sees device_type="mtia" and cpp_wrapper=True -> get_wrapper_codegen_for_device("mtia", cpp_wrapper=True) -> MTIACppWrapperCodeGen.create() Test Plan: buck2 test...
Hyperscale Open Source & Cloud Infrastructure Review
From an infrastructure engineering, cloud-native scale, and hyperscale governance standpoint: - **Hyperscale Provenance:** Open-sourcing internal frameworks subjects proprietary systems to rigorous public analysis. - **De-facto Standard Cohesion:** Publishing enterprise tooling establishes interoperable specifications across distributed execution. - **Vendor Decoupling:** Platform engineers can inspect underlying telemetry and memory layouts without black-box vendor lock-in.
Impact on the Open Ecosystem
Bridges enterprise engineering scale with independent, reproducible open-source software stacks.