未验证 提交 b9ee7105 编写于 作者: H hong 提交者: GitHub

skip inplace check for new ir (#55702)

上级 58a03d41
......@@ -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(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册