diff --git a/paddle/fluid/framework/new_executor/standalone_executor.cc b/paddle/fluid/framework/new_executor/standalone_executor.cc index 1c63c7d0329dfd..76d6c7ed3b81fe 100644 --- a/paddle/fluid/framework/new_executor/standalone_executor.cc +++ b/paddle/fluid/framework/new_executor/standalone_executor.cc @@ -122,7 +122,6 @@ StandaloneExecutor::StandaloneExecutor(const platform::Place& place, pm.AddPass(pir::CreateFusedDropoutAddPass()); pm.AddPass(pir::CreateFusedLinearParamGradAddPass()); pm.AddPass(pir::CreateFusedGemmEpiloguePass()); - pm.AddPass(::pir::CreateInplacePass()); if (VLOG_IS_ON(6)) { pm.EnableIRPrinting(); }