Skip to content

[MiniMax-M2] Remove reduce_results kwarg from FusedMoE init#1444

Merged
iboiko-habana merged 1 commit into
vllm-project:mainfrom
mounikamandava:fix-minimax-m2
May 13, 2026
Merged

[MiniMax-M2] Remove reduce_results kwarg from FusedMoE init#1444
iboiko-habana merged 1 commit into
vllm-project:mainfrom
mounikamandava:fix-minimax-m2

Conversation

@mounikamandava
Copy link
Copy Markdown
Contributor

Removes the reduce_results=False argument passed to FusedMoE in HpuMiniMaxM2MoE which is no longer accepted by upstream VLLM and causes worker startup to fail.

Upstream VLLM removed the reduce_results parameter from Fused MoE_init_ (vllm/model_executor/layers/fused_moe/layer.py). THe MoE output reduction is now decided internally based on TP/EP topology. The corresponding upstream model MiniMaxM2MoE (vllm/model_executor/models/minimax_m2.py) was updated accordingly, but the HPU port HpuMiniMaxM2MoE was not, so it still passes the now-unknown kwarg.

Fix :
Drop the reduce_results=False kwarg from the FusedMoE construction in HpuMiniMaxM2MoE. Behavior is unchanged because upstream now governs MoE output reduction internally based on TP/EP configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Gaudi-specific MiniMax-M2 MoE implementation to stay compatible with upstream vLLM by removing a no-longer-supported reduce_results keyword argument when constructing FusedMoE, preventing worker startup failures.

Changes:

  • Remove the deprecated reduce_results=False kwarg from FusedMoE(...) initialization in HpuMiniMaxM2MoE.

@github-actions
Copy link
Copy Markdown

✅ CI Passed

All checks passed successfully against the following vllm commit:
54f548e9e58087f0155e4e164e416ad7efdfde6d

Copy link
Copy Markdown
Collaborator

@iboiko-habana iboiko-habana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reduce_results was removed in vllm-project/vllm#35949. Thanks for fix

@iboiko-habana iboiko-habana merged commit cbc78c0 into vllm-project:main May 13, 2026
5 of 6 checks 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.

3 participants