Skip to content

[MoE Refactor] Move remaining experts classes to experts directory#42334

Merged
yewentao256 merged 9 commits into
vllm-project:mainfrom
neuralmagic:move-more-experts
May 12, 2026
Merged

[MoE Refactor] Move remaining experts classes to experts directory#42334
yewentao256 merged 9 commits into
vllm-project:mainfrom
neuralmagic:move-more-experts

Conversation

@bnellnm
Copy link
Copy Markdown
Collaborator

@bnellnm bnellnm commented May 11, 2026

Purpose

Move the remaining experts subclasses to the experts directory.

cc @yzong-rh

Test Plan

Lint + CI

Test Result


Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.

bnellnm added 4 commits May 11, 2026 16:34
Signed-off-by: Bill Nell <bnell@redhat.com>
Signed-off-by: Bill Nell <bnell@redhat.com>
Signed-off-by: Bill Nell <bnell@redhat.com>
Signed-off-by: Bill Nell <bnell@redhat.com>
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

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 MoE (Mixture of Experts) module by moving several expert-related files into a dedicated experts subdirectory. Import statements across various files, including tests, LoRA layers, and quantization configurations, have been updated to reflect this new directory structure. Additionally, a type hint was added to the packed_modules_mapping attribute in HummingConfig. I have no feedback to provide.

Signed-off-by: Bill Nell <bnell@redhat.com>
@mergify mergify Bot added performance Performance-related issues gpt-oss Related to GPT-OSS models nvidia labels May 11, 2026
Copy link
Copy Markdown
Member

@yewentao256 yewentao256 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the work!

@github-project-automation github-project-automation Bot moved this to Ready in NVIDIA May 11, 2026
@github-project-automation github-project-automation Bot moved this from To Triage to Ready in gpt-oss Issues & Enhancements May 11, 2026
@yewentao256 yewentao256 added the ready ONLY add when PR is ready to merge/full CI is needed label May 11, 2026
bnellnm added 2 commits May 11, 2026 22:50
Signed-off-by: Bill Nell <bnell@redhat.com>
Signed-off-by: Bill Nell <bnell@redhat.com>
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented May 12, 2026

Documentation preview: https://vllm--42334.org.readthedocs.build/en/42334/

@mergify mergify Bot added the documentation Improvements or additions to documentation label May 12, 2026
Signed-off-by: Bill Nell <bnell@redhat.com>
Signed-off-by: Bill Nell <bnell@redhat.com>
@yewentao256 yewentao256 merged commit 6427603 into vllm-project:main May 12, 2026
81 checks passed
@github-project-automation github-project-automation Bot moved this from Ready to Done in NVIDIA May 12, 2026
weifang231 pushed a commit to weifang231/eb-vllm that referenced this pull request May 13, 2026
mfylcek pushed a commit to mfylcek/vllm that referenced this pull request May 19, 2026
jhu960213 pushed a commit to jhu960213/vllm that referenced this pull request May 20, 2026
h1t35h pushed a commit to h1t35h/vllm that referenced this pull request May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation gpt-oss Related to GPT-OSS models nvidia performance Performance-related issues ready ONLY add when PR is ready to merge/full CI is needed

Projects

Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants