Skip to content

Conversation

@Isotr0py
Copy link
Member

@Isotr0py Isotr0py commented Oct 17, 2025

Purpose

  • Remove PolyNorm because there are no models using it anymore after v0 deprecation

Test Plan

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.
  • (Optional) Release notes update. If your change is user facing, please update the release notes draft in the Google Doc.

Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
@mergify mergify bot added the performance Performance-related issues label Oct 17, 2025
Copy link
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 correctly removes the unused PolyNorm layer, including its definition, tests, and benchmarks. This is a good cleanup step.

However, the cleanup appears to be incomplete. The helper functions poly_norm in vllm/model_executor/layers/layernorm.py and vllm/_custom_ops.py seem to be orphaned by this change, as they were only used by the PolyNorm layer. For a complete cleanup, these functions and the underlying C++ kernel (torch.ops._C.poly_norm) should also be removed. Since these functions are not in the current diff, I am noting this here for you to consider.

@mgoin mgoin enabled auto-merge (squash) October 17, 2025 16:52
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Oct 17, 2025
Isotr0py and others added 2 commits October 18, 2025 00:55
@mgoin mgoin merged commit 3125d79 into vllm-project:main Oct 17, 2025
87 checks passed
@Isotr0py Isotr0py deleted the rm-polynorm branch October 18, 2025 06:00
lywa1998 pushed a commit to lywa1998/vllm that referenced this pull request Oct 20, 2025
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
adabeyta pushed a commit to adabeyta/vllm that referenced this pull request Oct 20, 2025
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
WyldeCat added a commit to MotifTechnologies/vllm that referenced this pull request Oct 22, 2025
WyldeCat added a commit to MotifTechnologies/vllm that referenced this pull request Oct 23, 2025
This reverts commit 3125d79.
Signed-off-by: WyldeCat <skan1543@gmail.com>
albertoperdomo2 pushed a commit to albertoperdomo2/vllm that referenced this pull request Oct 23, 2025
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Alberto Perdomo <aperdomo@redhat.com>
alhridoy pushed a commit to alhridoy/vllm that referenced this pull request Oct 24, 2025
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
xuebwang-amd pushed a commit to xuebwang-amd/vllm that referenced this pull request Oct 24, 2025
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: xuebwang-amd <xuebwang@amd.com>
xuebwang-amd pushed a commit to xuebwang-amd/vllm that referenced this pull request Oct 24, 2025
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: xuebwang-amd <xuebwang@amd.com>
0xrushi pushed a commit to 0xrushi/vllm that referenced this pull request Oct 26, 2025
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
0xrushi pushed a commit to 0xrushi/vllm that referenced this pull request Oct 26, 2025
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Performance-related issues ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants