-
Notifications
You must be signed in to change notification settings - Fork 449
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
Refactor turbomind attention by precomputing rotary embed #2801
base: main
Are you sure you want to change the base?
Conversation
"internlm/internlm2_5-7b-chat-1m" long-context test failed |
Do we really need float for RoPE? Most models store them as half or bf16. |
@irexyc run generation,
only use 1 gpu and process hangs. |
Motivation
Calculate cos/sin in advance and reduce the parameters of the prefill/decode kernel