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

deepspeed-chat: Support zero3 params initialization in the last LN #839

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

deepcharm
Copy link
Contributor

Zero3 requires that gathering partitioned parameters before they can be accessed.

We enable that mechanism for initialization of the last LN weight and bias.

Zero3 requires that gathering partitioned parameters before
they can be accessed.

We enable that mechanism for initialization of the last LN weight
and bias.
@tjruwase tjruwase merged commit 57dd8fb into microsoft:master Jan 17, 2024
2 checks passed
@deepcharm deepcharm deleted the fix-zero3-support-params-reset branch January 23, 2024 10:06
stceum pushed a commit to stceum/DeepSpeedExamples that referenced this pull request Jan 27, 2024
…icrosoft#839)

Zero3 requires that gathering partitioned parameters before
they can be accessed.

We enable that mechanism for initialization of the last LN weight
and bias.

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants