@@ -951,6 +951,8 @@ class TestDygraphTransformerSortGradient(unittest.TestCase):
...
@@ -951,6 +951,8 @@ class TestDygraphTransformerSortGradient(unittest.TestCase):
withguard():
withguard():
fluid.set_flags({'FLAGS_sort_sum_gradient':True})
fluid.set_flags({'FLAGS_sort_sum_gradient':True})
# NOTE(xiongkun03): In new executor, the inplace strategy is on by default, which will cause result of sumop have some differences. So we disable inplace.