diff --git a/python/paddle/fluid/tests/unittests/test_py_func_op.py b/python/paddle/fluid/tests/unittests/test_py_func_op.py index 6ef41ed6a9c2bc942ad1f5e9ab819ee34f8ca054..b7bff4eae23e7b7b4e879bf6f25924c107b4ea02 100644 --- a/python/paddle/fluid/tests/unittests/test_py_func_op.py +++ b/python/paddle/fluid/tests/unittests/test_py_func_op.py @@ -142,10 +142,6 @@ def test_main(use_cuda, use_py_func_op, use_parallel_executor): exe = fluid.Executor(place) exe.run(fluid.default_startup_program()) - #FIXME force use old memory optimzie strategy here to pass the unittest - #since open the new strategy will crash the unittest - fluid.memory_optimize(fluid.default_main_program()) - train_cp = fluid.default_main_program() if use_parallel_executor: