Skip to content
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

ZeRO-1 empty grads fix + tests #1273

Merged
merged 3 commits into from
Aug 2, 2021
Merged

ZeRO-1 empty grads fix + tests #1273

merged 3 commits into from
Aug 2, 2021

Conversation

jeffra
Copy link
Collaborator

@jeffra jeffra commented Aug 2, 2021

  • Only reduce non-empty grads for stage 1
  • Add unit test and ensure empty grads are triggered for all ranks
  • Only empty grads if stage 2
  • Add context comments to empty grads calls

@jeffra jeffra merged commit adc21a4 into master Aug 2, 2021
@jeffra jeffra deleted the jeffra/zero-fixes branch August 2, 2021 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants