move warning of ParallelExecutor (#17945)

test=develop
dependabot/pip/python/requests-2.20.0
chengduo 6 years ago committed by GitHub
parent dcaf60f06c
commit 83942c3df2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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()

Loading…
Cancel
Save