Skip to content

[WIP]support MERRouter #1421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

[WIP]support MERRouter #1421

wants to merge 2 commits into from

Conversation

Angazenn
Copy link
Contributor

@Angazenn Angazenn commented Jun 25, 2025

What this PR does / why we need it?

This PR introduces an expert rearrange algorithm for PanguProMoE model. Different from the original grouped topk, it filters out the top experts that are allocated more tokens. Therefore, we can load less experts when calculating gmm.

Does this PR introduce any user-facing change?

Yes. In ascend_config we will provide an interface of ascend_model_config, to parse necessary parameters.

How was this patch tested?

Signed-off-by: angazenn <zengyanjia@huawei.com>
Signed-off-by: angazenn <zengyanjia@huawei.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant