Skip to content

[zero-3] shutdown zero.Init from within ds.init#2150

Merged
jeffra merged 3 commits intomasterfrom
issue-2139
Jul 30, 2022
Merged

[zero-3] shutdown zero.Init from within ds.init#2150
jeffra merged 3 commits intomasterfrom
issue-2139

Conversation

@jeffra
Copy link
Collaborator

@jeffra jeffra commented Jul 28, 2022

Shutdown zero.Init context from within deepspeed.initialize, otherwise causes infinite recursion and other issues.

Fixes #2139

@jeffra jeffra merged commit 46401b3 into master Jul 30, 2022
@jeffra jeffra deleted the issue-2139 branch July 30, 2022 00:24
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.

deepspeed.zero.Init causes infinite recursion error

3 participants