Skip to content

[bugfix] fix gate_up_proj#39

Merged
Jintao-Huang merged 1 commit into
modelscope:mainfrom
Jintao-Huang:fix_gate_up_proj
Apr 19, 2026
Merged

[bugfix] fix gate_up_proj#39
Jintao-Huang merged 1 commit into
modelscope:mainfrom
Jintao-Huang:fix_gate_up_proj

Conversation

@Jintao-Huang

Copy link
Copy Markdown
Collaborator

No description provided.

@Jintao-Huang

Copy link
Copy Markdown
Collaborator Author

@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 updates the _get_hf_experts_attr method in gpt_bridge.py to provide specific expert attributes for the qwen3_5_moe model. The review identifies a potential AttributeError caused by referencing an undefined configuration attribute and points out logic redundancy that could lead to inconsistent behavior between base and MTP layers. A simplification of the conditional logic is suggested to resolve these issues.

Comment thread src/mcore_bridge/bridge/gpt_bridge.py
@Jintao-Huang Jintao-Huang merged commit c77f7b8 into modelscope:main Apr 19, 2026
1 check 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.

1 participant