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

[Feature]: Manually inject Prefix KV Cache #10515

Open
1 task done
toilaluan opened this issue Nov 21, 2024 · 0 comments
Open
1 task done

[Feature]: Manually inject Prefix KV Cache #10515

toilaluan opened this issue Nov 21, 2024 · 0 comments

Comments

@toilaluan
Copy link

🚀 The feature, motivation and pitch

We're having a good KV-cache compressor base on the paper: https://arxiv.org/abs/2401.03462
Example we can compress the KV-cache of 2048 tokens into the KV-cache of 512 special tokens, so we need a manual way to feed it into the generate function.

Alternatives

No response

Additional context

No response

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant