-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
[Kernel] Revert the API change of Attention.forward #12038
[Kernel] Revert the API change of Attention.forward #12038
Conversation
Signed-off-by: Chen Zhang <[email protected]>
👋 Hi! Thank you for contributing to the vLLM project. Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can do one of these:
🚀 |
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.
LGTM, thanks for the fix!
Fixing phi3small model by #12040 |
Signed-off-by: Chen Zhang <[email protected]> Signed-off-by: ice-tong <[email protected]>
Signed-off-by: Chen Zhang <[email protected]>
Signed-off-by: Chen Zhang <[email protected]>
Signed-off-by: Chen Zhang <[email protected]>
Signed-off-by: Chen Zhang <[email protected]> Signed-off-by: hzh <[email protected]>
Signed-off-by: Chen Zhang <[email protected]> Signed-off-by: Bowen Wang <[email protected]>
Signed-off-by: Chen Zhang <[email protected]>
The changing of
kv_cache
->_kv_cache
andattn_metadata
->_attn_metadata
inAttention.forward
by #11967 breaks models that pass these two arguments with kwargs, e.g., phi3_small:And this script is crashed
This pr reverts the API change to fix this problem.
CC @youkaichao
NOTE: the above script is still crashed due to other problems. I'm investigating and fixing it.