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

Fix bf16 for zero > 0 and pipeline parallelism > 0 #1032

Merged
merged 8 commits into from
Sep 18, 2023

Conversation

dashstander
Copy link
Contributor

However, if you want to use zero1 with bf16 and pipeline parallelism, you need to add "data_types": {"grad_accum_dtype": "fp32"} to the config, pending the resolution of this DeepSpeed issue.

@dashstander dashstander requested a review from a team as a code owner September 15, 2023 19:18
@dashstander dashstander linked an issue Sep 15, 2023 that may be closed by this pull request
@Quentin-Anthony Quentin-Anthony merged commit d9166bf into main Sep 18, 2023
2 checks passed
@Quentin-Anthony Quentin-Anthony deleted the 963-bf16-zero1 branch September 18, 2023 13:52
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.

bf16 is incompatible with pipe parallelism
2 participants