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

Q: Support for session-aware cache eviction? #2265

Closed
creatorrr opened this issue Dec 26, 2023 · 1 comment
Closed

Q: Support for session-aware cache eviction? #2265

creatorrr opened this issue Dec 26, 2023 · 1 comment

Comments

@creatorrr
Copy link

Some inference engines (like lmdeploy) support passing session_ids at inference time to hint the engine to manage cache for that request accordingly for persistent sessions where the previous messages of the context are going to remain fixed within that session.

I think this would be a growing need over time and it'd be very useful to have built-in support for this in vllm. That said, the interface is going to be tricky and needs a lot of thought.

What do you think @WoosukKwon ? If it aligns with the project goals, we could start an RFC for this.

@hmellor
Copy link
Collaborator

hmellor commented Mar 28, 2024

This sounds like a problem that is solved by prefix caching #2762

@hmellor hmellor closed this as completed Mar 28, 2024
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

2 participants