-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug in bfloat16 optimizer related to checkpointing #4434
Merged
tjruwase
merged 10 commits into
microsoft:master
from
okoge-kaz:fix/bf16-optimizer-state
Oct 7, 2023
Merged
Fix bug in bfloat16 optimizer related to checkpointing #4434
tjruwase
merged 10 commits into
microsoft:master
from
okoge-kaz:fix/bf16-optimizer-state
Oct 7, 2023
Conversation
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
okoge-kaz
changed the title
Fix a bug in bfloat16 optimizer when saving checkpoints.
Fix bug in bfloat16 optimizer when saving checkpoints.
Oct 1, 2023
okoge-kaz
changed the title
Fix bug in bfloat16 optimizer when saving checkpoints.
Fix bug in bfloat16 optimizer related checkpointing
Oct 1, 2023
okoge-kaz
changed the title
Fix bug in bfloat16 optimizer related checkpointing
Fix bug in bfloat16 optimizer related to checkpointing
Oct 1, 2023
tjruwase
reviewed
Oct 3, 2023
tjruwase
approved these changes
Oct 4, 2023
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Oct 4, 2023
Thanks for your review. (A100 40GB x 16(2node)) |
@okoge-kaz, thanks for sharing your results. |
Fix #4272 |
@tjruwase All test passed! |
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Oct 7, 2023
mauryaavinash95
pushed a commit
to mauryaavinash95/DeepSpeed
that referenced
this pull request
Oct 9, 2023
* fix: bf16 optimizer if condition * fix: unexpected keyword argument 'load_serial' * fix: add load_serial arg to bf16_optimizer * style: fix indentation --------- Co-authored-by: Olatunji Ruwase <[email protected]>
baodii
pushed a commit
to baodii/DeepSpeed
that referenced
this pull request
Nov 7, 2023
* fix: bf16 optimizer if condition * fix: unexpected keyword argument 'load_serial' * fix: add load_serial arg to bf16_optimizer * style: fix indentation --------- Co-authored-by: Olatunji Ruwase <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Fixed conditional branching where errors occurred.
Error Detail
I encountered the following error while training with zero 1 optimization and bf16 using Megatron-DeepSpeed.
and also when loading the checkpoint, I got another error.
Related Pull Request
#3759
Related Issue
#4272