-
-
Notifications
You must be signed in to change notification settings - Fork 12.3k
[BugFix] llama4 qknorm should be not shared across head #16311
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: Lu Fang <fanglu@fb.com>
|
👋 Hi! Thank you for contributing to the vLLM project. 💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels. Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run 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 either: Add 🚀 |
|
Goooood catch! |
Signed-off-by: Lu Fang <fanglu@fb.com>
Signed-off-by: Lu Fang <fanglu@fb.com>
houseroad
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.
Looks good.
…#16311) Signed-off-by: Lu Fang <fanglu@fb.com> Signed-off-by: zRzRzRzRzRzRzR <2448370773@qq.com>
…#16311) Signed-off-by: Lu Fang <fanglu@fb.com> Signed-off-by: Yang Wang <elainewy@meta.com>
…#16311) Signed-off-by: Lu Fang <fanglu@fb.com>
…#16311) Signed-off-by: Lu Fang <fanglu@fb.com>
…#16311) Signed-off-by: Lu Fang <fanglu@fb.com> Signed-off-by: Mu Huai <tianbowen.tbw@antgroup.com>
QKNorm should not be across head, we need to do qknorm per head, score goes up from 0.6858 to 0.7153.
This also resovles TP=4 Accuracy Issue #16300
MMLU Pro Before fix:
MMLU Pro After fix: