File tree Expand file tree Collapse file tree 2 files changed +4
-38
lines changed Expand file tree Collapse file tree 2 files changed +4
-38
lines changed Original file line number Diff line number Diff line change 1
1
steps :
2
- - label : " Build wheel default - Python {{matrix.python_version}}, CUDA {{matrix.cuda_version}}"
2
+ - label : " Build wheel - CUDA {{matrix.cuda_version}}"
3
3
agents :
4
4
queue : cpu_queue
5
5
commands :
6
- - " DOCKER_BUILDKIT=1 docker build --build-arg max_jobs=16 --build-arg USE_SCCACHE=1 --build-arg CUDA_VERSION={{matrix.cuda_version}} --build-arg PYTHON_VERSION={{matrix.python_version}} -- tag vllm-ci:build-image --target build --progress plain ."
6
+ - " DOCKER_BUILDKIT=1 docker build --build-arg max_jobs=16 --build-arg USE_SCCACHE=1 --build-arg CUDA_VERSION={{matrix.cuda_version}} --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
9
# rename the files to change linux -> manylinux1
10
10
- " for f in artifacts/dist/*.whl; do mv -- \" $$f\" \" $${f/linux/manylinux1}\" ; done"
11
11
- " aws s3 cp --recursive artifacts/dist s3://vllm-wheels/$BUILDKITE_COMMIT/"
12
12
- " aws s3 cp --recursive artifacts/dist s3://vllm-wheels/nightly/"
13
- matrix :
14
- setup :
15
- cuda_version :
16
- - " 12.1.0"
17
- python_version :
18
- - " 3.10"
19
- - " 3.11"
20
-
21
- - block : " Build wheels full"
22
-
23
- - label : " Build wheel - Python {{matrix.python_version}}, CUDA {{matrix.cuda_version}}"
24
- agents :
25
- queue : cpu_queue
26
- commands :
27
- - " DOCKER_BUILDKIT=1 docker build --build-arg max_jobs=16 --build-arg USE_SCCACHE=1 --build-arg CUDA_VERSION={{matrix.cuda_version}} --build-arg PYTHON_VERSION={{matrix.python_version}} --tag vllm-ci:build-image --target build --progress plain ."
28
- - " mkdir artifacts"
29
- - " 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'"
30
- - " for f in artifacts/dist/*.whl; do mv -- \" $$f\" \" $${f/linux/manylinux1}\" ; done"
31
- - " aws s3 cp --recursive artifacts/dist s3://vllm-wheels/$BUILDKITE_COMMIT/"
32
- - " aws s3 cp --recursive artifacts/dist s3://vllm-wheels/nightly/"
33
13
matrix :
34
14
setup :
35
15
cuda_version :
36
16
- " 11.8.0"
37
17
- " 12.1.0"
38
- python_version :
39
- - " 3.8"
40
- - " 3.9"
41
- - " 3.10"
42
- - " 3.11"
43
- adjustments :
44
- - with :
45
- cuda_version : " 12.1.0"
46
- python_version : " 3.10"
47
- skip : true
48
- - with :
49
- cuda_version : " 12.1.0"
50
- python_version : " 3.11"
51
- skip : true
Original file line number Diff line number Diff line change @@ -104,15 +104,15 @@ RUN --mount=type=cache,target=/root/.cache/pip \
104
104
&& export SCCACHE_REGION=us-west-2 \
105
105
&& export CMAKE_BUILD_TYPE=Release \
106
106
&& sccache --show-stats \
107
- && python3 setup.py bdist_wheel --dist-dir=dist \
107
+ && python3 setup.py bdist_wheel --dist-dir=dist --py-limited-api=cp38 \
108
108
&& sccache --show-stats; \
109
109
fi
110
110
111
111
ENV CCACHE_DIR=/root/.cache/ccache
112
112
RUN --mount=type=cache,target=/root/.cache/ccache \
113
113
--mount=type=cache,target=/root/.cache/pip \
114
114
if [ "$USE_SCCACHE" != "1" ]; then \
115
- python3 setup.py bdist_wheel --dist-dir=dist; \
115
+ python3 setup.py bdist_wheel --dist-dir=dist --py-limited-api=cp38 ; \
116
116
fi
117
117
118
118
# check the size of the wheel, we cannot upload wheels larger than 100MB
You can’t perform that action at this time.
0 commit comments