Skip to content

[megatron] mtp_decoder_input_detach#9146

Merged
Jintao-Huang merged 2 commits into
modelscope:mainfrom
Jintao-Huang:add_mtp_decoder_input_detach
Apr 18, 2026
Merged

[megatron] mtp_decoder_input_detach#9146
Jintao-Huang merged 2 commits into
modelscope:mainfrom
Jintao-Huang:add_mtp_decoder_input_detach

Conversation

@Jintao-Huang
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

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

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 introduces the mtp_decoder_input_detach parameter to the MegatronArguments class and updates the documentation in both Chinese and English to include this new option. It also updates the documentation for mtp_num_layers to suggest mtp_num_hidden_layers as an additional reference field from config.json. I have no feedback to provide as there are no review comments to evaluate.

@Jintao-Huang
Copy link
Copy Markdown
Collaborator Author

@Jintao-Huang Jintao-Huang merged commit 3da3191 into modelscope:main Apr 18, 2026
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.

2 participants