Skip to content

Commit

Permalink
add call to p2p overlap (#6779) (#6786)
Browse files Browse the repository at this point in the history
* add call to p2p overlap



* update Jenkins for test



---------

Signed-off-by: Abhinav Khattar <[email protected]>
Signed-off-by: Eric Harper <[email protected]>
Co-authored-by: Abhinav Khattar <[email protected]>
Co-authored-by: Eric Harper <[email protected]>
  • Loading branch information
3 people committed Jun 5, 2023
1 parent 76fc488 commit aa1986f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pipeline {
steps {
sh 'git clone https://github.com/NVIDIA/Megatron-LM.git && \
cd Megatron-LM && \
git checkout cd2537d444792b487b1ab5a6fa685e09c9957409 && \
git checkout e6d7e09845590d0a36bc7f29eb28db974fb8da4e && \
pip install -e .'
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,8 @@ def fwd_bwd_step(self, dataloader_iter, batch_idx, forward_only):
no_sync_func=no_sync_func,
grad_sync_func=grad_sync_func,
param_sync_func=param_sync_func,
overlap_p2p_comm=self.cfg.get('overlap_p2p_comm', False),
batch_p2p_comm=self.cfg.get('batch_p2p_comm', True),
)

# only the last stages of the pipeline return losses
Expand Down

0 comments on commit aa1986f

Please sign in to comment.