|
6 | 6 | - "DOCKER_BUILDKIT=1 docker build --build-arg max_jobs=16 --build-arg USE_SCCACHE=1 --build-arg GIT_REPO_CHECK=1 --build-arg CUDA_VERSION=12.1.0 --tag vllm-ci:build-image --target build --progress plain ." |
7 | 7 | - "mkdir artifacts" |
8 | 8 | - "docker run --rm -v $(pwd)/artifacts:/artifacts_host vllm-ci:build-image bash -c 'cp -r dist /artifacts_host && chmod -R a+rw /artifacts_host'" |
9 | | - # rename the files to change linux -> manylinux1 |
10 | | - - "for f in artifacts/dist/*.whl; do mv -- \"$$f\" \"$${f/linux/manylinux1}\"; done" |
11 | | - - "mv artifacts/dist/$(ls artifacts/dist) artifacts/dist/vllm-1.0.0.dev-cp38-abi3-manylinux1_x86_64.whl" |
12 | | - - "aws s3 cp artifacts/dist/vllm-1.0.0.dev-cp38-abi3-manylinux1_x86_64.whl s3://vllm-wheels/$BUILDKITE_COMMIT/vllm-1.0.0.dev-cp38-abi3-manylinux1_x86_64.whl" |
13 | | - - "aws s3 cp artifacts/dist/vllm-1.0.0.dev-cp38-abi3-manylinux1_x86_64.whl s3://vllm-wheels/nightly/vllm-1.0.0.dev-cp38-abi3-manylinux1_x86_64.whl" |
| 9 | + - "bash .buildkite/upload-wheels.sh" |
14 | 10 | env: |
15 | 11 | DOCKER_BUILDKIT: "1" |
16 | 12 |
|
17 | | - - block: "Build CUDA 11.8 wheel" |
18 | | - key: block-build-cu118-wheel |
19 | | - |
| 13 | + # Note(simon): We can always build CUDA 11.8 wheel to ensure the build is working. |
| 14 | + # However, this block can be uncommented to save some compute hours. |
| 15 | + # - block: "Build CUDA 11.8 wheel" |
| 16 | + # key: block-build-cu118-wheel |
| 17 | + |
20 | 18 | - label: "Build wheel - CUDA 11.8" |
21 | | - depends_on: block-build-cu118-wheel |
| 19 | + # depends_on: block-build-cu118-wheel |
22 | 20 | agents: |
23 | 21 | queue: cpu_queue |
24 | 22 | commands: |
25 | 23 | - "DOCKER_BUILDKIT=1 docker build --build-arg max_jobs=16 --build-arg USE_SCCACHE=1 --build-arg GIT_REPO_CHECK=1 --build-arg CUDA_VERSION=11.8.0 --tag vllm-ci:build-image --target build --progress plain ." |
26 | 24 | - "mkdir artifacts" |
27 | 25 | - "docker run --rm -v $(pwd)/artifacts:/artifacts_host vllm-ci:build-image bash -c 'cp -r dist /artifacts_host && chmod -R a+rw /artifacts_host'" |
28 | | - # rename the files to change linux -> manylinux1 |
29 | | - - "for f in artifacts/dist/*.whl; do mv -- \"$$f\" \"$${f/linux/manylinux1}\"; done" |
30 | | - - "aws s3 cp --recursive artifacts/dist s3://vllm-wheels/$BUILDKITE_COMMIT/" |
31 | | - - "aws s3 cp --recursive artifacts/dist s3://vllm-wheels/nightly/" |
| 26 | + - "bash .buildkite/upload-wheels.sh" |
32 | 27 | env: |
33 | 28 | DOCKER_BUILDKIT: "1" |
0 commit comments