Skip to content

Disable ZeRO loading when load_module_only=True - #3116

Closed
ploshkin wants to merge 2 commits into
deepspeedai:masterfrom
ploshkin:do-not-load-zero-with-load-module-only
Closed

ploshkin wants to merge 2 commits into
deepspeedai:masterfrom
ploshkin:do-not-load-zero-with-load-module-only

Conversation

@ploshkin

@ploshkin ploshkin commented Mar 30, 2023 •

Copy link
Copy Markdown

Hi,

I encountered the issue when loading weights of the pretrained model for further fine-tuning. The model was trained using bfloat16 in multi-GPU multi-host regime. I wanted to launch training on a different number of GPUs, but didn't find out how to tell DeepSpeed not to load ZeRO-states.

Based on the description of the load_module_only argument of the load_checkpoint() method I assume that the additional check will solve this issue.

@tohtana tohtana self-assigned this Sep 1, 2023
@tohtana

tohtana commented Sep 14, 2023

Copy link
Copy Markdown
Collaborator

Hi @ploshkin,
Sorry that we haven't responded for a long time. Do you still have this issue with the latest version?
I will handle this if the latest code still has this issue.

@tjruwase

tjruwase commented Sep 6, 2024

Copy link
Copy Markdown
Contributor

Closing for lack of activity

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.

4 participants