Skip to content

Commit 83942c3

Browse files
author
chengduo
authored
move warning of ParallelExecutor (#17945)
test=develop
1 parent dcaf60f commit 83942c3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

python/paddle/fluid/parallel_executor.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,6 @@ def __init__(self,
125125
num_trainers=1,
126126
trainer_id=0,
127127
scope=None):
128-
sys.stderr.write(
129-
'ParallelExecutor is deprecated. '
130-
'Please use CompiledProgram and Executor. CompiledProgram '
131-
'is a central place for optimization and Executor is the '
132-
'unified executor. Example can be found in compiler.py.\n')
133-
134128
if build_strategy is None:
135129
build_strategy = BuildStrategy()
136130

0 commit comments

Comments
 (0)