From 9d34b31ee91b9014b09adef0e63a911cb8e9cc6e Mon Sep 17 00:00:00 2001 From: zhaozhenlong Date: Fri, 8 May 2020 17:35:00 +0800 Subject: [PATCH] remove old ir fusion pass lamb next mv with decay v1 --- mindspore/ccsrc/kernel/tbe/tbe_adapter.cc | 2 +- .../ccsrc/pre_activate/ascend/ascend_backend_optimization.cc | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/mindspore/ccsrc/kernel/tbe/tbe_adapter.cc b/mindspore/ccsrc/kernel/tbe/tbe_adapter.cc index 406495552..582e40e2d 100644 --- a/mindspore/ccsrc/kernel/tbe/tbe_adapter.cc +++ b/mindspore/ccsrc/kernel/tbe/tbe_adapter.cc @@ -69,7 +69,7 @@ static std::map tbe_func_adapter_map = { {"reduce_sum", "reduce_sum_d"}, {"one_hot", "one_hot_d"}, {"sum", "reduce_sum_d"}, - {"lamb_next_mv_with_decay_v1", "lamb_next_m_v_with_decay"}, + {"lamb_next_mv_with_decay", "lamb_next_m_v_with_decay"}, {"lamb_next_mv", "lamb_next_m_v"}, {"split", "split_d"}, {"resize_nearest_neighbor", "resize_nearest_neighbor_v2_d"}, diff --git a/mindspore/ccsrc/pre_activate/ascend/ascend_backend_optimization.cc b/mindspore/ccsrc/pre_activate/ascend/ascend_backend_optimization.cc index 0b4027df5..afe55aa27 100644 --- a/mindspore/ccsrc/pre_activate/ascend/ascend_backend_optimization.cc +++ b/mindspore/ccsrc/pre_activate/ascend/ascend_backend_optimization.cc @@ -31,7 +31,6 @@ #include "pre_activate/ascend/ir_fusion/confusion_softmax_grad_rule.h" #include "pre_activate/ascend/ir_fusion/lamb_next_mv_rule.h" #include "pre_activate/ascend/ir_fusion/lamb_next_mv_with_decay_rule.h" -#include "pre_activate/ascend/ir_fusion/lamb_next_mv_with_decay_v1_rule.h" #include "pre_activate/ascend/ir_fusion/lamb_next_right_rule.h" #include "pre_activate/ascend/ir_fusion/lamb_update_with_lr_v2.h" #include "pre_activate/ascend/ir_fusion/layer_norm_beta_gamma_backprop_fusion.h" @@ -82,7 +81,6 @@ void AddAscendBackendOptionalIRFusion(PassManager *ir_fusion_pm) { ir_fusion_pm->AddPass(std::make_shared()); ir_fusion_pm->AddPass(std::make_shared()); ir_fusion_pm->AddPass(std::make_shared()); - ir_fusion_pm->AddPass(std::make_shared()); ir_fusion_pm->AddPass(std::make_shared()); ir_fusion_pm->AddPass(std::make_shared()); ir_fusion_pm->AddPass(std::make_shared()); -- GitLab