ciflow/trunk/198519: [FX] Skip fusion discovery for fully supported graphs (#198519)
- PyTorch: 1453 events in the last 90 days
- PyTorch: 1434th Release in the last 90 days
- Previous: earlier the same day · ciflow/trunk/197430: [Sigmoid] Stabilize AOTI inplace weight identity (#197430)
What happened
Summary: When every callable node is accelerator-supported, the splitter cannot create an accelerator/CPU boundary. Skip FxNetAccFusionsFinder in that case while preserving normal dependency construction and update_deps_for_fusions behavior. This avoids quadratic fusion bookkeeping on large fully supported graphs. Test Plan: buck2 run mode/opt //caffe2/test:fx -- -r all_supported_nodes_skip_fusion_dependency_analysi…
Summary assembled by rule from the sources below