|
3 | 3 | {% set docker_image_torch_nightly = "public.ecr.aws/q9t5s3a7/vllm-ci-test-repo:$BUILDKITE_COMMIT-torch-nightly" %} |
4 | 4 | {% set docker_image_cu118 = "public.ecr.aws/q9t5s3a7/vllm-ci-test-repo:$BUILDKITE_COMMIT-cu118" %} |
5 | 5 | {% set docker_image_cpu = "public.ecr.aws/q9t5s3a7/vllm-ci-test-repo:$BUILDKITE_COMMIT-cpu" %} |
| 6 | +{% set docker_image_arm64_cpu = "public.ecr.aws/q9t5s3a7/vllm-ci-test-repo:$BUILDKITE_COMMIT-arm64-cpu" %} |
6 | 7 | {% if branch == "main" %} |
7 | 8 | {% set docker_image = "public.ecr.aws/q9t5s3a7/vllm-ci-postmerge-repo:$BUILDKITE_COMMIT" %} |
8 | 9 | {% set docker_image_latest = "public.ecr.aws/q9t5s3a7/vllm-ci-postmerge-repo:latest" %} |
9 | 10 | {% set docker_image_torch_nightly = "public.ecr.aws/q9t5s3a7/vllm-ci-postmerge-repo:$BUILDKITE_COMMIT-torch-nightly" %} |
10 | 11 | {% set docker_image_cu118 = "public.ecr.aws/q9t5s3a7/vllm-ci-postmerge-repo:$BUILDKITE_COMMIT-cu118" %} |
11 | 12 | {% set docker_image_cpu = "public.ecr.aws/q9t5s3a7/vllm-ci-postmerge-repo:$BUILDKITE_COMMIT-cpu" %} |
| 13 | +{% set docker_image_arm64_cpu = "public.ecr.aws/q9t5s3a7/vllm-ci-postmerge-repo:$BUILDKITE_COMMIT-arm64-cpu" %} |
12 | 14 | {% set docker_image_hpu = "public.ecr.aws/q9t5s3a7/vllm-ci-postmerge-repo:$BUILDKITE_COMMIT-hpu" %} |
13 | 15 | {% endif %} |
14 | 16 | {% set docker_image_amd = "rocm/vllm-ci:$BUILDKITE_COMMIT" %} |
@@ -545,6 +547,36 @@ steps: |
545 | 547 | limit: 2 |
546 | 548 | {% endif %} |
547 | 549 |
|
| 550 | + - label: ":docker: build image ARM64 CPU" |
| 551 | + key: image-build-arm64-cpu |
| 552 | + depends_on: ~ |
| 553 | + agents: |
| 554 | + {% if branch == "main" %} |
| 555 | + queue: arm64_cpu_queue_postmerge |
| 556 | + {% else %} |
| 557 | + queue: arm64_cpu_queue_premerge |
| 558 | + {% endif %} |
| 559 | + commands: |
| 560 | + - "aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/q9t5s3a7" |
| 561 | + - | |
| 562 | + #!/bin/bash |
| 563 | + if [[ -z $(docker manifest inspect {{ docker_image_cpu }}) ]]; then |
| 564 | + echo "Image not found, proceeding with build..." |
| 565 | + else |
| 566 | + echo "Image found" |
| 567 | + exit 0 |
| 568 | + fi |
| 569 | + - "docker build --file docker/Dockerfile.cpu --build-arg max_jobs=16 --build-arg buildkite_commit=$BUILDKITE_COMMIT --tag {{ docker_image_cpu }} --target vllm-test --progress plain ." |
| 570 | + - "docker push {{ docker_image_cpu }}" |
| 571 | + env: |
| 572 | + DOCKER_BUILDKIT: "1" |
| 573 | + retry: |
| 574 | + automatic: |
| 575 | + - exit_status: -1 # Agent was lost |
| 576 | + limit: 2 |
| 577 | + - exit_status: -10 # Agent was lost |
| 578 | + limit: 2 |
| 579 | + |
548 | 580 | {% for step in steps %} |
549 | 581 | {% if step.fast_check_only != true %} |
550 | 582 |
|
|
0 commit comments