| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix(ir): Select merged valid_shape by branch condition Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !5840 merge fix/phi-shape into master fix(ir): Select merged valid_shape by branch condition Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Related Issue: #2559 See merge request: cann/pypto!5840 | 2 个月前 | |
feat(pass): Gate VFFusionClusterIdentify by HLF mode and remove atomic scope switches Co-authored-by: Catherie<mayuan33@huawei.com> # message auto-generated for no-merge-commit merge: !5943 merge feat/vf-cluster-hlf-gate into master feat(pass): Gate VFFusionClusterIdentify by HLF mode and remove atomic scope switches Created-by: Catherie Commit-by: Catherie Merged-by: cann-robot Description: feat(pass): Gate VFFusionClusterIdentify by HLF mode and remove atomic scope switches VFFusionClusterIdentify was registered as a pass (with its dependency on SubgraphToFunction declared) but was never scheduled in any pipeline strategy. This PR wires it into the PVC2_OOO strategy right after SubgraphToFunction and gates it on ooo_sched_mode == "HLF", so VF fusion clusters are only produced when HLF scheduling is selected. The enableAtomicScope_ debug switches in InsertSync and LoopaxesProc were temporary gates introduced with the vf fusion enhancement (default false, never enabled anywhere in the codebase). With the cluster producer now in the pipeline, the atomic-scope-aware processing runs unconditionally, matching the documented sg_set_atomic_scope behavior. Changes: - Add HLF-mode gate to VFFusionClusterIdentify::RunOnFunction, reading oooSchedMode from paramConfigs_ (same pattern as OoOSchedule) - Insert VF_FUSION_CLUSTER_IDENTIFY after SUBGRAPH_TO_FUNCTION in the PVC2_OOO pass strategy - Remove enableAtomicScope_ from InsertSync; AdjustSyncByAtomicScope now runs unconditionally - Remove enableAtomicScope_ from LoopaxesProc; forbidden-cut protection and grouping validation now run unconditionally - Update UTs: enable HLF mode in VFFusionClusterIdentify tests, add DoesNothingWhenSchedModeNotHlf, drop obsolete switch-off regression Verification: - python3 build_ci.py -f cpp -u --utest_module passes: 1526 cases passed, exit code 0 - Targeted suites (InsertSyncTest / TestLoopaxesProcPass / VFFusionClusterIdentifyTest / AncestorBitsTest / TestPassDependency / PassManagerTest): 77/77 passed Related Issues: https://gitcode.com/cann/pypto/issues/2815 See merge request: cann/pypto!5943 | 2 个月前 | |
feat(pass): Gate VFFusionClusterIdentify by HLF mode and remove atomic scope switches Co-authored-by: Catherie<mayuan33@huawei.com> # message auto-generated for no-merge-commit merge: !5943 merge feat/vf-cluster-hlf-gate into master feat(pass): Gate VFFusionClusterIdentify by HLF mode and remove atomic scope switches Created-by: Catherie Commit-by: Catherie Merged-by: cann-robot Description: feat(pass): Gate VFFusionClusterIdentify by HLF mode and remove atomic scope switches VFFusionClusterIdentify was registered as a pass (with its dependency on SubgraphToFunction declared) but was never scheduled in any pipeline strategy. This PR wires it into the PVC2_OOO strategy right after SubgraphToFunction and gates it on ooo_sched_mode == "HLF", so VF fusion clusters are only produced when HLF scheduling is selected. The enableAtomicScope_ debug switches in InsertSync and LoopaxesProc were temporary gates introduced with the vf fusion enhancement (default false, never enabled anywhere in the codebase). With the cluster producer now in the pipeline, the atomic-scope-aware processing runs unconditionally, matching the documented sg_set_atomic_scope behavior. Changes: - Add HLF-mode gate to VFFusionClusterIdentify::RunOnFunction, reading oooSchedMode from paramConfigs_ (same pattern as OoOSchedule) - Insert VF_FUSION_CLUSTER_IDENTIFY after SUBGRAPH_TO_FUNCTION in the PVC2_OOO pass strategy - Remove enableAtomicScope_ from InsertSync; AdjustSyncByAtomicScope now runs unconditionally - Remove enableAtomicScope_ from LoopaxesProc; forbidden-cut protection and grouping validation now run unconditionally - Update UTs: enable HLF mode in VFFusionClusterIdentify tests, add DoesNothingWhenSchedModeNotHlf, drop obsolete switch-off regression Verification: - python3 build_ci.py -f cpp -u --utest_module passes: 1526 cases passed, exit code 0 - Targeted suites (InsertSyncTest / TestLoopaxesProcPass / VFFusionClusterIdentifyTest / AncestorBitsTest / TestPassDependency / PassManagerTest): 77/77 passed Related Issues: https://gitcode.com/cann/pypto/issues/2815 See merge request: cann/pypto!5943 | 2 个月前 | |
Initial commit | 10 个月前 |