Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
bc96d5c3
Unverified
Commit
bc96d5c3
authored
Jul 05, 2024
by
Simon Mo
Committed by
GitHub
Jul 05, 2024
Browse files
Move release wheel env var to Dockerfile instead (#6163)
parent
f0250620
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
.buildkite/release-pipeline.yaml
.buildkite/release-pipeline.yaml
+2
-2
Dockerfile
Dockerfile
+1
-0
No files found.
.buildkite/release-pipeline.yaml
View file @
bc96d5c3
steps
:
-
block
:
"
Build
wheels"
-
label
:
"
Build
wheel
-
Python
{{matrix.python_version}},
CUDA
{{matrix.cuda_version}}"
-
label
:
"
Build
wheel
-
Python
{{matrix.python_version}},
CUDA
{{matrix.cuda_version}}"
agents
:
queue
:
cpu_queue
commands
:
-
"
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
."
-
"
mkdir
artifacts"
-
"
docker
run
--rm
-v
$(pwd)/artifacts:/artifacts_host
-e
CMAKE_BUILD_TYPE=Release
vllm-ci:build-image
cp
-r
dist
/artifacts_host"
-
"
docker
run
--rm
-v
$(pwd)/artifacts:/artifacts_host
vllm-ci:build-image
cp
-r
dist
/artifacts_host"
-
"
aws
s3
cp
--recursive
artifacts/dist
s3://vllm-wheels/$BUILDKITE_COMMIT/"
matrix
:
setup
:
...
...
Dockerfile
View file @
bc96d5c3
...
...
@@ -99,6 +99,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
&&
rm
-rf
sccache.tar.gz sccache-v0.8.1-x86_64-unknown-linux-musl
\
&&
export
SCCACHE_BUCKET
=
vllm-build-sccache
\
&&
export
SCCACHE_REGION
=
us-west-2
\
&&
export
CMAKE_BUILD_TYPE
=
Release
\
&&
sccache
--show-stats
\
&&
python3 setup.py bdist_wheel
--dist-dir
=
dist
\
&&
sccache
--show-stats
;
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment