Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
FeixLiu committed Sep 28, 2022
1 parent 80ab5ea commit 1f097c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ppfleetx/core/engine/eager_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,9 @@ def _wrap_sharding_2_3(self):
level=level,
scaler=self._scaler,
group=self._sharding_group,
offload=self._sharding_offload,
comm_overlap=self._comm_overlap)
offload=self._sharding_offload)
if self._comm_overlap:
self._module.model._set_comm_overlap(self._comm_overlap)

def _wrap_3D_parallel(self):
self._module.model = fleet.distributed_model(self._module.model)
Expand Down

0 comments on commit 1f097c3

Please sign in to comment.