Skip to content

[Fix] fix RL MTP config handling for non-compose models - #2031

Merged
YanhuiDua merged 1 commit into
InternLM:mainfrom
PengchengShi00:fix-glm52-rl-mtp
Aug 18, 2026
Merged

[Fix] fix RL MTP config handling for non-compose models#2031
YanhuiDua merged 1 commit into
InternLM:mainfrom
PengchengShi00:fix-glm52-rl-mtp

Conversation

@PengchengShi00

Copy link
Copy Markdown
Collaborator

For models like Glm52MoEConfig, read mtp_config directly from model_cfg so RL can construct the correct MTP loss context.

@windreamer
windreamer requested a review from YanhuiDua August 17, 2026 10:58
@YanhuiDua
YanhuiDua merged commit fb0cf59 into InternLM:main Aug 18, 2026
7 of 8 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.

2 participants