-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
[VLM][Refactor] Remove useless func get_input_positions in MRotaryEmbedding
#27088
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: MengqingCao <[email protected]>
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 is a straightforward refactoring that removes the unused get_input_positions function from the MRotaryEmbedding class, along with its now-unnecessary import. Based on the provided context and the pull request description, this function was indeed dead code. The removal is a good cleanup that improves code maintainability. The change is correct and I have no further suggestions.
DarkLight1337
left a comment
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.
Thanks for the cleanup!
…Embedding` (vllm-project#27088) Signed-off-by: MengqingCao <[email protected]>
…Embedding` (vllm-project#27088) Signed-off-by: MengqingCao <[email protected]> Signed-off-by: Alberto Perdomo <[email protected]>
…Embedding` (vllm-project#27088) Signed-off-by: MengqingCao <[email protected]>
…Embedding` (vllm-project#27088) Signed-off-by: MengqingCao <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
…Embedding` (vllm-project#27088) Signed-off-by: MengqingCao <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
…Embedding` (vllm-project#27088) Signed-off-by: MengqingCao <[email protected]> Signed-off-by: 0xrushi <[email protected]>
…Embedding` (vllm-project#27088) Signed-off-by: MengqingCao <[email protected]> Signed-off-by: 0xrushi <[email protected]>
Purpose
Remove useless func
get_input_positionsinMRotaryEmbedding. Since #24172, we dropedget_input_position_tensorsin vLLM, and there is no use ofget_input_positionsanymore. This pr removes the useless funcTest Plan
Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.