- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 10.9k
          [Chore] Remove unused PolyNorm layer
          #27110
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
There was a problem hiding this 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.
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
This reverts commit 3125d79.
This reverts commit 3125d79. Signed-off-by: WyldeCat <skan1543@gmail.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> Signed-off-by: Alberto Perdomo <aperdomo@redhat.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> Signed-off-by: xuebwang-amd <xuebwang@amd.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> Signed-off-by: xuebwang-amd <xuebwang@amd.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
Purpose
PolyNormbecause there are no models using it anymore after v0 deprecationTest Plan
Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.