Skip to content

Commit ed3228b

Browse files
chengduoXiaoguangHu01
authored andcommitted
move warning of ParallelExecutor (#17945) (#17967)
test=release/1.5
1 parent 3559e5a commit ed3228b

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)