From 83942c3df29466c6d5529a9f94b366d18e8e97bf Mon Sep 17 00:00:00 2001 From: chengduo Date: Tue, 11 Jun 2019 08:39:55 +0800 Subject: [PATCH] move warning of ParallelExecutor (#17945) test=develop --- 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 a2c6537effa..f2cefeb3013 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