-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
llama : try to avoid context swap #2060
Labels
Comments
Maybe it could also be compressed using interpolation? |
Closed
Merged
This was referenced Sep 16, 2023
Storing non-RoPEd KV cache would allow us to implement dynamic NTK or YaRN RoPE scaling, which is the state-of-the-art for context scaling on non-finetuned models. See section 3.3 of this paper. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, when the context becomes full, we pick part of the tokens and recompute the KV cache.
Instead, try to either:
The text was updated successfully, but these errors were encountered: