[MoE] Move various experts classes to fused_moe/experts/#41979
Merged
DarkLight1337 merged 31 commits intoMay 10, 2026
Conversation
Rename rocm_aiter_fused_moe.py to experts/rocm_aiter_moe.py and update all references. Also fix stale docs pointer for grouped_topk after its earlier move to router/. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Jackmin801 <ongjackm@gmail.com>
Rename fused_marlin_moe.py to experts/marlin_moe.py and update all references across the codebase (source, tests, docs). Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Jackmin801 <ongjackm@gmail.com>
Extract TritonExperts and TritonWNA16Experts from fused_moe.py into a new experts/triton_moe.py module. Update all references across the codebase (source, tests, C++ comment, docs). Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Jackmin801 <ongjackm@gmail.com>
Rename flashinfer_cutlass_moe.py to experts/flashinfer_cutlass_moe.py and update all references (source, tests, docs). Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Jackmin801 <ongjackm@gmail.com>
Signed-off-by: Robert Shaw <robertgshaw2@gmail.com>
…experts Signed-off-by: Jackmin801 <ongjackm@gmail.com> # Conflicts: # vllm/model_executor/layers/fused_moe/__init__.py
Signed-off-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com>
Signed-off-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com>
…xperts Signed-off-by: Jackmin801 <ongjackm@gmail.com> # Conflicts: # vllm/model_executor/layers/fused_moe/__init__.py
…experts Signed-off-by: Jackmin801 <ongjackm@gmail.com> # Conflicts: # vllm/lora/layers/fused_moe.py
…experts Signed-off-by: Jackmin801 <ongjackm@gmail.com> # Conflicts: # vllm/lora/layers/fused_moe.py # vllm/model_executor/layers/fused_moe/fused_moe.py
…erts Signed-off-by: Bill Nell <bnell@redhat.com>
…ss-moe-to-experts
…perts Signed-off-by: Bill Nell <bnell@redhat.com>
Collaborator
Author
Signed-off-by: Bill Nell <bnell@redhat.com>
yewentao256
approved these changes
May 8, 2026
yewentao256
left a comment
Member
There was a problem hiding this comment.
LGTM, thanks for the work!
This was referenced May 8, 2026
yiliu30
pushed a commit
to yiliu30/vllm-fork
that referenced
this pull request
May 11, 2026
…t#41979) Signed-off-by: Jackmin801 <ongjackm@gmail.com> Signed-off-by: Robert Shaw <robertgshaw2@gmail.com> Signed-off-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com> Signed-off-by: Bill Nell <bnell@redhat.com> Co-authored-by: Jackmin801 <ongjackm@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Robert Shaw <robertgshaw2@gmail.com> Co-authored-by: Robert Shaw <114415538+robertgshaw2-redhat@users.noreply.github.com> Co-authored-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com>
TomerBN-Nvidia
added a commit
to TomerBN-Nvidia/vllm
that referenced
this pull request
May 11, 2026
Resolves rename conflict from vllm-project#41979 (fused_marlin_moe.py → experts/marlin_moe.py). Git rename detection carries all PR edits through to the new path; no manual conflict resolution needed. Signed-off-by: Tomer Barnatan <tbarnatan@nvidia.com>
4 tasks
weifang231
pushed a commit
to weifang231/eb-vllm
that referenced
this pull request
May 13, 2026
…t#41979) Signed-off-by: Jackmin801 <ongjackm@gmail.com> Signed-off-by: Robert Shaw <robertgshaw2@gmail.com> Signed-off-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com> Signed-off-by: Bill Nell <bnell@redhat.com> Co-authored-by: Jackmin801 <ongjackm@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Robert Shaw <robertgshaw2@gmail.com> Co-authored-by: Robert Shaw <114415538+robertgshaw2-redhat@users.noreply.github.com> Co-authored-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com>
5 tasks
mfylcek
pushed a commit
to mfylcek/vllm
that referenced
this pull request
May 19, 2026
…t#41979) Signed-off-by: Jackmin801 <ongjackm@gmail.com> Signed-off-by: Robert Shaw <robertgshaw2@gmail.com> Signed-off-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com> Signed-off-by: Bill Nell <bnell@redhat.com> Co-authored-by: Jackmin801 <ongjackm@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Robert Shaw <robertgshaw2@gmail.com> Co-authored-by: Robert Shaw <114415538+robertgshaw2-redhat@users.noreply.github.com> Co-authored-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com>
jhu960213
pushed a commit
to jhu960213/vllm
that referenced
this pull request
May 20, 2026
…t#41979) Signed-off-by: Jackmin801 <ongjackm@gmail.com> Signed-off-by: Robert Shaw <robertgshaw2@gmail.com> Signed-off-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com> Signed-off-by: Bill Nell <bnell@redhat.com> Co-authored-by: Jackmin801 <ongjackm@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Robert Shaw <robertgshaw2@gmail.com> Co-authored-by: Robert Shaw <114415538+robertgshaw2-redhat@users.noreply.github.com> Co-authored-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com>
mvanhorn
pushed a commit
to mvanhorn/vllm
that referenced
this pull request
Jun 4, 2026
…t#41979) Signed-off-by: Jackmin801 <ongjackm@gmail.com> Signed-off-by: Robert Shaw <robertgshaw2@gmail.com> Signed-off-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com> Signed-off-by: Bill Nell <bnell@redhat.com> Co-authored-by: Jackmin801 <ongjackm@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Robert Shaw <robertgshaw2@gmail.com> Co-authored-by: Robert Shaw <114415538+robertgshaw2-redhat@users.noreply.github.com> Co-authored-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com> Signed-off-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
knight0528
pushed a commit
to knight0528/vllm
that referenced
this pull request
Jun 8, 2026
…t#41979) Signed-off-by: Jackmin801 <ongjackm@gmail.com> Signed-off-by: Robert Shaw <robertgshaw2@gmail.com> Signed-off-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com> Signed-off-by: Bill Nell <bnell@redhat.com> Co-authored-by: Jackmin801 <ongjackm@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Robert Shaw <robertgshaw2@gmail.com> Co-authored-by: Robert Shaw <114415538+robertgshaw2-redhat@users.noreply.github.com> Co-authored-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Forked from #40572, #40573, #40571, #40570
cc @Jackmin801 , @robertgshaw2-redhat
Test Plan
Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.