Skip to content
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

[attention map of group query attention] #34

Open
baibizhe opened this issue Nov 4, 2024 · 0 comments
Open

[attention map of group query attention] #34

baibizhe opened this issue Nov 4, 2024 · 0 comments

Comments

@baibizhe
Copy link

baibizhe commented Nov 4, 2024

Hello,thanks for this wonderful work and the speed of open-source.
I try to test fastv on a group query attention llm, such internlm2, their attention calculation is here
(https://huggingface.co/zhangtao-whu/OMG-LLaVA/blob/main/internlm2-chat-7b/modeling_internlm2.py#L266) .
in such case, how to calculate the attention score of this kind of llms?

Thanks for your time!
Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant