-
Notifications
You must be signed in to change notification settings - Fork 103
refactor: Makefile, update docs #463
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
base: main
Are you sure you want to change the base?
Conversation
|
This PR will need re-work once PR #453 merges. |
thanks for the headsup, mark PR to draft for now. |
e492d43 to
3b7888e
Compare
| ``` | ||
|
|
||
| > [!NOTE] | ||
| > The full image reference will be constructed as `${EPP_IMAGE}:${EPP_TAG}`, where `EPP_IMAGE` defaults to `${IMAGE_REGISTRY}/llm-d-inference-scheduler`. For example, with `IMAGE_REGISTRY=quay.io/<my-id>` and `EPP_TAG=v1.0.0`, the final image will be `quay.io/<my-id>/llm-d-inference-scheduler:v1.0.0`. |
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.
EPP_IMAGE is the entire image including the tag
It defaults to ${IMAGE_REGISTRY}/llm-d-inference-scheduler:${EPP_TAG}, where EPP_TAG defaults to dev
| **1. Setting the EPP image and tag:** | ||
|
|
||
| You can optionally set a custom EPP image (otherwise, the default will be used): | ||
| You can optionally set a custom EPP image and tag (otherwise, defaults will be used): |
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.
See comment below on EPP_IMAGE
| GATEWAY_HOST_PORT=$(KIND_GATEWAY_HOST_PORT) \ | ||
| IMAGE_REGISTRY=$(IMAGE_REGISTRY) \ | ||
| EPP_IMAGE=$(EPP_IMAGE) \ | ||
| EPP_TAG=$(EPP_TAG) \ |
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.
There is no need to pass in EPP_TAG
| EPP_IMAGE=$(EPP_IMAGE) \ | ||
| EPP_TAG=$(EPP_TAG) \ | ||
| VLLM_SIMULATOR_IMAGE=${VLLM_SIMULATOR_IMAGE} \ | ||
| VLLM_SIMULATOR_TAG=$(VLLM_SIMULATOR_TAG) \ |
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.
There is no need to pass in VLLM_SIMULATOR_TAG
| VLLM_SIMULATOR_IMAGE=${VLLM_SIMULATOR_IMAGE} \ | ||
| VLLM_SIMULATOR_TAG=$(VLLM_SIMULATOR_TAG) \ | ||
| SIDECAR_IMAGE=$(SIDECAR_IMAGE) \ | ||
| SIDECAR_TAG=$(SIDECAR_TAG) \ |
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.
There is no need to pass in SIDECAR_TAG
| GOLANGCI_LINT_VERSION ?= v2.1.6 | ||
| KUSTOMIZE_VERSION ?= v5.5.0 | ||
| TYPOS_VERSION ?= v1.34.0 | ||
| VLLM_SIMULATOR_TAG ?= v0.6.1 |
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.
I want all of the images setup in the main Makefile
You need to export VLLM_SIMULATOR_IMAGE and no VLLM_SIMULATOR_TAG
|
This PR was not correctly updated to reflect the changes in PR #453 |
24a5342 to
200a48a
Compare
b13ab07 to
319a637
Compare
- split Makefile
1. tools: include install tools, check tools, download dependency(gcc
etc) and tokenizer. these will be download into "bin" folder than
global path
2. cluster: include k8s and ocp
3. kind
- rename "openshift-base" to "kubernetes-base" to be clear for purpose
- uplift Go lint version to 2.1.6 to align with the same one set in
Github Action
- rename make targets for better visibility, deprcating old ones
- add more print in "make env"
Signed-off-by: Wen Zhou <[email protected]>
Changelist
Result
Test