Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LiYuRio committed Jan 10, 2022
1 parent a12df98 commit 16f8e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/paddle/fluid/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2068,7 +2068,6 @@ def _run_using_fleet_executor(self,
'op_role',
core.op_proto_and_checker_maker.OpRole.Optimize)
self._add_program_cache(cache_key, cached_program)
assert "fleet_opt" in program._pipeline_opt, "fleet_opt should be config to init carrier."
fleet_opt = program._pipeline_opt["fleet_opt"]
if 'tasks' in fleet_opt:
# Insert feed/fetch op for cloned program in each task node,
Expand Down Expand Up @@ -2104,6 +2103,7 @@ def _run_using_fleet_executor(self,
'op_role',
core.op_proto_and_checker_maker.OpRole.Optimize)
fetch_task.set_program(fetch_program)

self._prepare_fleet_executor_carrier(
cache_key,
program=cached_program,
Expand Down

1 comment on commit 16f8e97

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.