ciflow/trunk/198519: [FX] Skip fusion discovery for fully supported graphs (#198519)
- PyTorch 近 90 天出现 1457 次
- PyTorch 近 90 天第 1438 次发版
- 上一次:同一天稍早 · ciflow/trunk/197430: [Sigmoid] Stabilize AOTI inplace weight identity (#197430)
发生了什么
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…
摘要按规则整理自下方来源原文