Skip to content

Commit a8b630c

Browse files
committed
remove comments
1 parent 21071f7 commit a8b630c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

python/paddle/v2/fluid/distribute_transpiler.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,6 @@ def _is_op_on_pserver(self, endpoint, all_ops, idx):
361361
j = idx - 1
362362
while j >= 0:
363363
prev_op = all_ops[j]
364-
# prev_output_names = [o.name for o in prev_op.outputs.values()]
365-
# prev_input_names = [o.name for o in prev_op.inputs.values()]
366364
# NOTE(typhoonzero): consider list input/output
367365
prev_output_names = prev_op.desc.output_arg_names()
368366
prev_input_names = prev_op.desc.input_arg_names()
@@ -535,14 +533,6 @@ def get_pserver_program(self, endpoint):
535533
attrs={
536534
"OptimizeBlock": optimize_block,
537535
"endpoint": endpoint,
538-
# "ParamList": [
539-
# p.name
540-
# for p in self.param_grad_ep_mapping[endpoint]["params"]
541-
# ],
542-
# "GradList": [
543-
# p.name
544-
# for p in self.param_grad_ep_mapping[endpoint]["grads"]
545-
# ],
546536
"Fanin": self.trainers
547537
})
548538
pserver_program.sync_with_cpp()

0 commit comments

Comments
 (0)