diff --git a/test/legacy_test/eager_op_test.py b/test/legacy_test/eager_op_test.py index 489d8ce02d7ddbb26c71824b34d9ceaf5123a254..f34ff8e137da6f82741db421ad4123fd374e7b72 100644 --- a/test/legacy_test/eager_op_test.py +++ b/test/legacy_test/eager_op_test.py @@ -1696,6 +1696,9 @@ class OpTest(unittest.TestCase): if getattr(self, "no_need_check_inplace", False): return + if os.getenv("FLAGS_enable_new_ir_in_executor"): + return + has_infer_inplace = fluid.core.has_infer_inplace(self.op_type) has_grad_op_maker = fluid.core.has_grad_op_maker(self.op_type) fwd_res = self._calc_output(