-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
Deepspeed lr_schedule is None #25865
Comments
Hi @iMountTai, thanks for raising this issue. So that we can help, could you follow the issue template and provide:
cc @pacman100 |
|
Hello, the PRs huggingface/accelerate#1909 ans #25863 are meant for resolving this issue. I'm working on it |
@pacman100 This doesn't solve my problem, the learning rate still starts at 0. |
my deepspeed config:
The reason why the resume is not correct is that |
With my ds_config, HF optimizer + HF scheduler is not supported? |
Hello @iMountTai, I've fixed the issue, could you please retry? You can find all 4 combinations experiments to test the proper working of resume_from_checkpoint here: #25863 (comment) |
It worked. You are so excellent! |
System Info
linux
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
When I use DeepSpeed with the
resume_from_checkpoint
parameter, I am unable to resume properly. Thelr_schedule
doesn't load its state correctly, causing the learning rate to start from 0.Expected behavior
resume from last checkpoint
The text was updated successfully, but these errors were encountered: