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 racing condition in GatheredParameters #3819

Merged
merged 9 commits into from
Jun 29, 2023

Conversation

HeyangQin
Copy link
Contributor

@HeyangQin HeyangQin commented Jun 26, 2023

GatheredParameters DeepSpeed/deepspeed/runtime/zero/partition_parameters.py at master · microsoft/DeepSpeed · GitHub doesn't check if the input params are duplicate or not. And from the hybrid engine side, it is passing duplicate parameters DeepSpeed/deepspeed/runtime/hybrid_engine.py at master · microsoft/DeepSpeed · GitHub. This is causing a racing condition and then potentially causes all kinds of "INFLIGHT" issues like #3068 #3156
#3735
microsoft/DeepSpeedExamples#337
microsoft/DeepSpeedExamples#591.
This PR fixes this issue

@HeyangQin HeyangQin enabled auto-merge (squash) June 26, 2023 20:05
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