-
Notifications
You must be signed in to change notification settings - Fork 260
[Misc] Refract the structure of VLLMRuntime CRD #479
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
Conversation
Signed-off-by: royyhuang <[email protected]>
Signed-off-by: royyhuang <[email protected]>
Signed-off-by: royyhuang <[email protected]>
Signed-off-by: royyhuang <[email protected]>
Signed-off-by: royyhuang <[email protected]>
Signed-off-by: royyhuang <[email protected]>
Signed-off-by: royyhuang <[email protected]>
Signed-off-by: royyhuang <[email protected]>
Signed-off-by: royyhuang <[email protected]>
Signed-off-by: royyhuang <[email protected]>
…vllm-project-main
Signed-off-by: royyhuang <[email protected]>
Signed-off-by: royyhuang <[email protected]>
…account instead of hardcoding Signed-off-by: royyhuang <[email protected]>
Signed-off-by: royyhuang <[email protected]>
| @@ -5,5 +5,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 | |||
| kind: Kustomization | |||
| images: | |||
| - name: controller | |||
| newName: lmcache/operator | |||
| newName: 1nfinity/production-stack-controller | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change this to lmcache docker hub image
operator/config/default.yaml
Outdated
| - --health-probe-bind-address=:8081 | ||
| command: | ||
| - /manager | ||
| image: 1nfinity/production-stack-controller:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also push this to lmcache docker hub
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Signed-off-by: royyhuang <[email protected]>
Signed-off-by: royyhuang <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
* add CRD support for production stack Signed-off-by: royyhuang <[email protected]> * move opertor to a secondary dir instead of in root dir Signed-off-by: royyhuang <[email protected]> * rename api group from serving.vllm.ai to production-stack.vllm.ai Signed-off-by: royyhuang <[email protected]> * enable lmcache cpu offloading Signed-off-by: royyhuang <[email protected]> * enable lmcache remote cache server offloading Signed-off-by: royyhuang <[email protected]> * fix service discorvery issue by adding readiness probe to vllm pod Signed-off-by: royyhuang <[email protected]> * fix readiness probe Signed-off-by: royyhuang <[email protected]> * restructure runtime crd spec Signed-off-by: royyhuang <[email protected]> * add default operator manifest Signed-off-by: royyhuang <[email protected]> * move rbac for vllm-router pod to controller Signed-off-by: royyhuang <[email protected]> * use service account name defined in vllm-router cr to create service account instead of hardcoding Signed-off-by: royyhuang <[email protected]> * update sample loraadapter manifest Signed-off-by: royyhuang <[email protected]> * update default controller image Signed-off-by: royyhuang <[email protected]> * remove old image name patch Signed-off-by: royyhuang <[email protected]> --------- Signed-off-by: royyhuang <[email protected]>
* add CRD support for production stack Signed-off-by: royyhuang <[email protected]> * move opertor to a secondary dir instead of in root dir Signed-off-by: royyhuang <[email protected]> * rename api group from serving.vllm.ai to production-stack.vllm.ai Signed-off-by: royyhuang <[email protected]> * enable lmcache cpu offloading Signed-off-by: royyhuang <[email protected]> * enable lmcache remote cache server offloading Signed-off-by: royyhuang <[email protected]> * fix service discorvery issue by adding readiness probe to vllm pod Signed-off-by: royyhuang <[email protected]> * fix readiness probe Signed-off-by: royyhuang <[email protected]> * restructure runtime crd spec Signed-off-by: royyhuang <[email protected]> * add default operator manifest Signed-off-by: royyhuang <[email protected]> * move rbac for vllm-router pod to controller Signed-off-by: royyhuang <[email protected]> * use service account name defined in vllm-router cr to create service account instead of hardcoding Signed-off-by: royyhuang <[email protected]> * update sample loraadapter manifest Signed-off-by: royyhuang <[email protected]> * update default controller image Signed-off-by: royyhuang <[email protected]> * remove old image name patch Signed-off-by: royyhuang <[email protected]> --------- Signed-off-by: royyhuang <[email protected]> Signed-off-by: David Gao <[email protected]>
Restructure the VLLMRuntime CRD. Now the each option has to belong to one of the following struct,
ModelSpec,VLLMConfig,LMCacheConfig,DeploymentConfig. This make sure we don't dump all kinds the options under VLLMRuntimeSpec and keep a clean structure of it.LoraAdapter spec has also be updated to avoid naming conflict, specifically
deploymentSpecrenamed toLoraAdapterDeploymentSpec.I also added a
config/default.yamlbuilt bykustomize.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.