-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[CI] Adding CPU docker pipeline #11261
[CI] Adding CPU docker pipeline #11261
Conversation
👋 Hi! Thank you for contributing to the vLLM project. Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can do one of these:
🚀 |
This patch adds the pipeline for CPU docker image Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
8744af2
to
2fad51d
Compare
depends_on: ~ | ||
if: build.tag != null | ||
agents: | ||
queue: cpu_queue_postmerge |
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.
@khluu not sure if this cpu-queue-postmerge
queue is right to build the publish docker image
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.
We can use this .. but it should push to an ECR instead of Dockerhub. If the cadence is per release version, we can pull the release image manually from ECR then retag and push to Dockerhub cause it's safer that way (putting Dockerhub token on the CI machine has some risk)
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.
@zhouyuan Can you add this command:
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/q9t5s3a7
then we can tag it like public.ecr.aws/q9t5s3a7/vllm-cpu-release-repo:$BUILDKITE_TAG
then push
depends_on: ~ | ||
if: build.tag != null | ||
agents: | ||
queue: cpu_queue_postmerge |
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.
We can use this .. but it should push to an ECR instead of Dockerhub. If the cadence is per release version, we can pull the release image manually from ECR then retag and push to Dockerhub cause it's safer that way (putting Dockerhub token on the CI machine has some risk)
depends_on: ~ | ||
if: build.tag != null | ||
agents: | ||
queue: cpu_queue_postmerge |
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.
@zhouyuan Can you add this command:
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/q9t5s3a7
then we can tag it like public.ecr.aws/q9t5s3a7/vllm-cpu-release-repo:$BUILDKITE_TAG
then push
@@ -55,3 +55,18 @@ steps: | |||
password-env: DOCKERHUB_TOKEN | |||
env: | |||
DOCKER_BUILDKIT: "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.
Can we add a block step here, since it only needs to run on-demand (every release)? The syntax is similar to the Build release image
step.
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
I think the PR is ready but the thing is I'm not sure if |
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
@khluu
|
Yes let me test it on the Release pipeline then will merge! |
@khluu did you forget to approve this? |
oops yes |
Hi @khluu @DarkLight1337 Thank you for the review and quick merge! Thanks, |
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> Co-authored-by: Kevin H. Luu <kevin@anyscale.com> Signed-off-by: lucast2021 <lucast2021@headroyce.org>
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> Co-authored-by: Kevin H. Luu <kevin@anyscale.com>
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> Co-authored-by: Kevin H. Luu <kevin@anyscale.com>
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> Co-authored-by: Kevin H. Luu <kevin@anyscale.com>
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> Co-authored-by: Kevin H. Luu <kevin@anyscale.com> Signed-off-by: Bowen Wang <abmfy@icloud.com>
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com> Co-authored-by: Kevin H. Luu <kevin@anyscale.com>
This patch adds the pipeline for CPU docker image. On each release(tag) it will build push the image to vllm/vllm-cpu
Fixes: #4771