Skip to content

Checks for None tensors and skip them when splitting the buckets in zero stage 2. - #728

Merged
cli99 merged 48 commits into
deepspeedai:masterfrom
cli99:fix_zero2_none_tensor
Feb 16, 2021
Merged

cli99 merged 48 commits into
deepspeedai:masterfrom
cli99:fix_zero2_none_tensor

Conversation

@cli99

@cli99 cli99 commented Feb 4, 2021

Copy link
Copy Markdown
Contributor

Input tensors to splitting the buckets in zero stage 2 could be None for some model configurations (was caught in Megatron-LM). This fix checks for None tensors and skip them when splitting the buckets in zero stage 2.

@cli99
cli99 marked this pull request as ready for review February 8, 2021 19:20
@cli99
cli99 merged commit 7cab55c into deepspeedai:master Feb 16, 2021
@cli99
cli99 deleted the fix_zero2_none_tensor branch February 16, 2021 20:10
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.

3 participants