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 the bug of constantlr while using the deepspeed engine #840

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Shengqiang-Li
Copy link

使用DeepSpeed训练且设置constantlr时,会出现关于scheduler_conf的错误:
TypeError: __init__() got an unexpected keyword argument 'warmup_steps'
修复之后:
2024-12-19 06:20:32,664 DEBUG TRAIN Batch 0/100 loss 3.581383 acc 0.204409 lr 0.00001000 grad_norm 1.757465 rank 0

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.

1 participant