-
Notifications
You must be signed in to change notification settings - Fork 313
[Feat] KV cache aware routing #398
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
Closed
YuhanLiu11
wants to merge
19
commits into
vllm-project:main
from
YuhanLiu11:localdev/kvaware_routing
Closed
[Feat] KV cache aware routing #398
YuhanLiu11
wants to merge
19
commits into
vllm-project:main
from
YuhanLiu11:localdev/kvaware_routing
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: YuhanLiu11 <[email protected]>
Signed-off-by: YuhanLiu11 <[email protected]>
31 tasks
Signed-off-by: YuhanLiu11 <[email protected]>
Signed-off-by: YuhanLiu11 <[email protected]>
Signed-off-by: YuhanLiu11 <[email protected]>
Signed-off-by: YuhanLiu11 <[email protected]>
Signed-off-by: global <global>
Signed-off-by: YuhanLiu11 <[email protected]>
Signed-off-by: YuhanLiu11 <[email protected]>
Signed-off-by: YuhanLiu11 <[email protected]>
Signed-off-by: YuhanLiu11 <[email protected]>
Signed-off-by: YuhanLiu11 <[email protected]>
Signed-off-by: YuhanLiu11 <[email protected]>
Signed-off-by: YuhanLiu11 <[email protected]>
Signed-off-by: global <global> Signed-off-by: YuhanLiu11 <[email protected]>
Signed-off-by: YuhanLiu11 <[email protected]>
Signed-off-by: YuhanLiu11 <[email protected]>
…u11/production-stack into localdev/kvaware_routing
Signed-off-by: YuhanLiu11 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the feature of KV cache aware routing with LMCache's KV cache controller. Based on the tokenized prompt, the KV cache controller will return the best instance ID that contains the KV cache for the prompt in it.
Currently, only local version is supported, helm chart support for KV cache aware routing is coming soon.
BEFORE SUBMITTING, PLEASE READ THE CHECKLIST BELOW AND FILL IN THE DESCRIPTION ABOVE
-swhen doinggit commit[Bugfix],[Feat], and[CI].Detailed Checklist (Click to Expand)
Thank you for your contribution to production-stack! Before submitting the pull request, please ensure the PR meets the following criteria. This helps us maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Please try to classify PRs for easy understanding of the type of changes. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:
[Bugfix]for bug fixes.[CI/Build]for build or continuous integration improvements.[Doc]for documentation fixes and improvements.[Feat]for new features in the cluster (e.g., autoscaling, disaggregated prefill, etc.).[Router]for changes to thevllm_router(e.g., routing algorithm, router observability, etc.).[Misc]for PRs that do not fit the above categories. Please use this sparingly.Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:
pre-committo format your code. SeeREADME.mdfor installation.DCO and Signed-off-by
When contributing changes to this project, you must agree to the DCO. Commits must include a
Signed-off-by:header which certifies agreement with the terms of the DCO.Using
-swithgit commitwill automatically add this header.What to Expect for the Reviews
We aim to address all PRs in a timely manner. If no one reviews your PR within 5 days, please @-mention one of YuhanLiu11
, Shaoting-Feng or ApostaC.