From ed3228b73948246ba0f322647b9adde67709e134 Mon Sep 17 00:00:00 2001 From: chengduo Date: Tue, 11 Jun 2019 10:11:33 +0800 Subject: [PATCH] move warning of ParallelExecutor (#17945) (#17967) test=release/1.5 --- python/paddle/fluid/parallel_executor.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/python/paddle/fluid/parallel_executor.py b/python/paddle/fluid/parallel_executor.py index a2c6537eff..f2cefeb301 100644 --- a/python/paddle/fluid/parallel_executor.py +++ b/python/paddle/fluid/parallel_executor.py @@ -125,12 +125,6 @@ class ParallelExecutor(object): num_trainers=1, trainer_id=0, scope=None): - sys.stderr.write( - 'ParallelExecutor is deprecated. ' - 'Please use CompiledProgram and Executor. CompiledProgram ' - 'is a central place for optimization and Executor is the ' - 'unified executor. Example can be found in compiler.py.\n') - if build_strategy is None: build_strategy = BuildStrategy() -- GitLab