Skip to content

[bugfix] Fix deepseek-v4 fp8 pp#151

Merged
Jintao-Huang merged 3 commits into
modelscope:mainfrom
Jintao-Huang:fix_deepseek_v4_fp8_pp
Jul 17, 2026
Merged

[bugfix] Fix deepseek-v4 fp8 pp#151
Jintao-Huang merged 3 commits into
modelscope:mainfrom
Jintao-Huang:fix_deepseek_v4_fp8_pp

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

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 refactors the _set_o_group_proj_grouped method in deepseek_v4.py to simplify the weight extraction logic when converting Megatron weights to the HuggingFace state dict. Specifically, it replaces manual looping, concatenation, and FP8 checks with a call to the helper method _get_weight. 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.

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