未验证 提交 635cd62d 编写于 作者: Z Zeng Jinle 提交者: GitHub

remove deprecated memory_optimize usages, test=develop (#19579)

上级 f4562c34
...@@ -142,10 +142,6 @@ def test_main(use_cuda, use_py_func_op, use_parallel_executor): ...@@ -142,10 +142,6 @@ def test_main(use_cuda, use_py_func_op, use_parallel_executor):
exe = fluid.Executor(place) exe = fluid.Executor(place)
exe.run(fluid.default_startup_program()) 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() train_cp = fluid.default_main_program()
if use_parallel_executor: if use_parallel_executor:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册