Skip to content

[Fix] Add missing space between --save and extra_args in convert_checkpoint#1580

Open
kaysonyu wants to merge 2 commits intoTHUDM:mainfrom
kaysonyu:fix/convert-checkpoint-missing-space
Open

[Fix] Add missing space between --save and extra_args in convert_checkpoint#1580
kaysonyu wants to merge 2 commits intoTHUDM:mainfrom
kaysonyu:fix/convert-checkpoint-missing-space

Conversation

@kaysonyu
Copy link
Contributor

Summary

  • Fixed a missing space in convert_checkpoint() where --save {path_dst} and {extra_args} were concatenated without a separator,
    causing argument corruption when extra_args is non-empty (e.g., --save /root/model_torch_dist--mtp-num-layers 1).

Test plan

  • Verified existing callers with extra_args (e.g., test_mimo_7B_mtp_only_grad.py) use a leading space as workaround

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