Skip to content

Commit 4778c6e

Browse files
committed
delete unused py codes
1 parent 1e1b662 commit 4778c6e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

python/paddle/fluid/parallel_executor.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,6 @@ def __init__(self,
142142
main = main if main else framework.default_main_program()
143143
if scope == None:
144144
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
150145

151146
if share_vars_from and not isinstance(share_vars_from,
152147
ParallelExecutor):

0 commit comments

Comments
 (0)