forked from bigscience-workshop/Megatron-DeepSpeed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deepspeed prefix-lm (bigscience-workshop#107)
* Fix pretrain prefix lm using deepspeed * Fix: self._args to args * First set attn_mask in model and then build model * Fix: enforce that we pass down tuple instead of generator * Attention mask does not need to be transposed * BIGGEST HACK EVER * Remove BIGGEST HACK * Skip prefix test as PP>1 doesn't work yet on deepspeed * Unskip prefix test * Merge branch 'main' into thomas/fix_deepspeed_prefix
- Loading branch information
Showing
4 changed files
with
132 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters