add PackFission pass for op-Stack in Pynative mode

This commit is contained in:
CHEN YU 2023-02-07 10:43:28 +08:00
parent 5aa81fede0
commit a6f44582fb
1 changed files with 1 additions and 0 deletions

View File

@ -484,6 +484,7 @@ void RunOpAscendBackendIRFusionOptimization(const std::shared_ptr<session::Kerne
ir_fusion_pm->AddPass(std::make_shared<RenormSplit>());
ir_fusion_pm->AddPass(std::make_shared<EraseVisitAttr>());
ir_fusion_pm->AddPass(std::make_shared<RemoveHostKernel>());
ir_fusion_pm->AddPass(std::make_shared<PackFission>());
const auto &pass_creators =
opt::Factory<PatternProcessPass>::Instance().GetPassCreatorsByType(kPassType::kIRFusionFissionPass);
for (const auto &pass_creator : pass_creators) {