Skip to content

[bugfix] Fix megatron lr_mult#9524

Merged
Jintao-Huang merged 2 commits into
modelscope:mainfrom
Jintao-Huang:fix_lr_mult
Jun 9, 2026
Merged

[bugfix] Fix megatron lr_mult#9524
Jintao-Huang merged 2 commits into
modelscope:mainfrom
Jintao-Huang:fix_lr_mult

Conversation

@Jintao-Huang

Copy link
Copy Markdown
Collaborator

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request modifies the parameter group handling in swift/megatron/trainers/base.py by explicitly setting param_group['lr_mult'] to 1. after popping it, ensuring that learning rate multipliers are handled correctly. There are no review comments, and I have no additional feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@Jintao-Huang Jintao-Huang merged commit 8553751 into modelscope:main Jun 9, 2026
2 of 3 checks passed
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