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

[router] LSH based prefix cache aware router #672

Open
gaocegege opened this issue Feb 14, 2025 · 2 comments
Open

[router] LSH based prefix cache aware router #672

gaocegege opened this issue Feb 14, 2025 · 2 comments
Assignees

Comments

@gaocegege
Copy link
Collaborator

🚀 Feature Description and Motivation

Right now, we're using xxhash in #641 for our prefix cache-aware router. We might consider switching to a consistent hash + LSH-based approach, which could reduce accuracy a bit but would simplify scaling. Here are some related discussions: vllm-project/production-stack#59 (comment).

Use Case

N/A

Proposed Solution

No response

@Jeffwan
Copy link
Collaborator

Jeffwan commented Feb 14, 2025

@varungup90 @DwyaneShi can you spend some time on this issue?

@gaocegege
Copy link
Collaborator Author

It's just a proposal; I don't know if it helps in the chat use case. But it works well with long document QA. Ref vllm-project/production-stack#59 (comment)

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

4 participants