Skip to content

Commit

Permalink
bugfix for mp accuracy (#35326)
Browse files Browse the repository at this point in the history
  • Loading branch information
JZ-LIANG authored Sep 1, 2021
1 parent b24f84c commit 7f17f9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def _init_process_group(self):
collective_helper._init_communicator(
self.startup_program, self.current_endpoint, self.mp_endpoints,
self.mp_rank, self.mp_ring_id, True, self.global_ring_id, True)
#self._broadcast_params(self.mp_ring_id, mp_mode=True)
self._broadcast_params(self.mp_ring_id, mp_mode=True)

# Create dp rings
if self.nranks > self.mp_degree:
Expand Down

0 comments on commit 7f17f9a

Please sign in to comment.