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
e784c6b9
Unverified
Commit
e784c6b9
authored
Jan 24, 2025
by
youkaichao
Committed by
GitHub
Jan 24, 2025
Browse files
[ci/build] sync default value for wheel size (#12398)
Signed-off-by:
youkaichao
<
youkaichao@gmail.com
>
parent
9a0f3bdb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
.buildkite/check-wheel-size.py
.buildkite/check-wheel-size.py
+1
-0
Dockerfile
Dockerfile
+2
-2
No files found.
.buildkite/check-wheel-size.py
View file @
e784c6b9
...
...
@@ -5,6 +5,7 @@ import zipfile
# Read the VLLM_MAX_SIZE_MB environment variable, defaulting to 300 MiB
# Note that we have 400 MiB quota, please use it wisely.
# See https://github.com/pypi/support/issues/3792 .
# Please also sync the value with the one in Dockerfile.
VLLM_MAX_SIZE_MB
=
int
(
os
.
environ
.
get
(
'VLLM_MAX_SIZE_MB'
,
300
))
...
...
Dockerfile
View file @
e784c6b9
...
...
@@ -126,8 +126,8 @@ RUN --mount=type=cache,target=/root/.cache/ccache \
# Check the size of the wheel if RUN_WHEEL_CHECK is true
COPY
.buildkite/check-wheel-size.py check-wheel-size.py
#
Default max size of the wheel is 250MB
ARG
VLLM_MAX_SIZE_MB=
25
0
#
sync the default value with .buildkite/check-wheel-size.py
ARG
VLLM_MAX_SIZE_MB=
30
0
ENV
VLLM_MAX_SIZE_MB=$VLLM_MAX_SIZE_MB
ARG
RUN_WHEEL_CHECK=true
RUN if
[
"
$RUN_WHEEL_CHECK
"
=
"true"
]
;
then
\
...
...
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