Skip to content

feat: reuse pre-planned ExecCfg in sparse MoE prep_in.#1297

Open
yq33victor wants to merge 1 commit intojd-opensource:mainfrom
yq33victor:dev/opt_plan_exec
Open

feat: reuse pre-planned ExecCfg in sparse MoE prep_in.#1297
yq33victor wants to merge 1 commit intojd-opensource:mainfrom
yq33victor:dev/opt_plan_exec

Conversation

@yq33victor
Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: pengtao <pengtao.156@jd.com>
@yq33victor yq33victor changed the title feat: reuse preplanned ExecCfg in sparse MoE prep_in. feat: reuse pre-planned ExecCfg in sparse MoE prep_in. Apr 16, 2026
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 refactors the prep_in method within the DeepseekV2SparseMoEBlockImpl class to accept an explicit execution configuration (ExecCfg) as an argument, rather than calculating it internally via plan_exec. This change is reflected in the DeepseekV2DecoderLayerImpl and the corresponding unit tests, which now include a new test case verifying that prep_in correctly uses the provided configuration. Additionally, minor formatting and whitespace cleanup were performed in phy_page_pool.h and xtensor.cpp. I have no feedback to provide as there were no review comments.

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