未验证 提交 cf361716 编写于 作者: W WangZhen 提交者: GitHub

Remove prim skip ops (#52470)

上级 8e7aa296
...@@ -178,7 +178,6 @@ class TestBert(unittest.TestCase): ...@@ -178,7 +178,6 @@ class TestBert(unittest.TestCase):
paddle.set_flags( paddle.set_flags(
{'FLAGS_deny_cinn_ops': "gaussian_random;uniform_random"} {'FLAGS_deny_cinn_ops': "gaussian_random;uniform_random"}
) )
core._add_skip_comp_ops("layer_norm")
dy2st_prim_cinn = train( dy2st_prim_cinn = train(
to_static=True, enable_prim=True, enable_cinn=True to_static=True, enable_prim=True, enable_cinn=True
) )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册