We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e1b662 commit 4778c6eCopy full SHA for 4778c6e
python/paddle/fluid/parallel_executor.py
@@ -142,11 +142,6 @@ def __init__(self,
142
main = main if main else framework.default_main_program()
143
if scope == None:
144
scope = executor.global_scope()
145
- # FIXME(Yancey1989): it's a temporary approach to determinate the distribute
146
- # train program, call self.bcast_param() at the end of each mini-batch.
147
- self.is_dist = True if "recv" in [
148
- op.type for op in main.global_block().ops
149
- ] else False
150
151
if share_vars_from and not isinstance(share_vars_from,
152
ParallelExecutor):
0 commit comments