From 635cd62d231a11205ed3bcb18d8096a94cb3657c Mon Sep 17 00:00:00 2001 From: Zeng Jinle <32832641+sneaxiy@users.noreply.github.com> Date: Tue, 3 Sep 2019 07:42:33 +0800 Subject: [PATCH] remove deprecated memory_optimize usages, test=develop (#19579) --- python/paddle/fluid/tests/unittests/test_py_func_op.py | 4 ---- 1 file changed, 4 deletions(-) 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 6ef41ed6a9..b7bff4eae2 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: -- GitLab