[ci/build] sync default value for wheel size (#12398)
Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
parent
9a0f3bdbe5
commit
e784c6b998
@ -5,6 +5,7 @@ import zipfile
|
|||||||
# Read the VLLM_MAX_SIZE_MB environment variable, defaulting to 300 MiB
|
# Read the VLLM_MAX_SIZE_MB environment variable, defaulting to 300 MiB
|
||||||
# Note that we have 400 MiB quota, please use it wisely.
|
# Note that we have 400 MiB quota, please use it wisely.
|
||||||
# See https://github.com/pypi/support/issues/3792 .
|
# 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))
|
VLLM_MAX_SIZE_MB = int(os.environ.get('VLLM_MAX_SIZE_MB', 300))
|
||||||
|
|
||||||
|
|
||||||
|
@ -126,8 +126,8 @@ RUN --mount=type=cache,target=/root/.cache/ccache \
|
|||||||
|
|
||||||
# Check the size of the wheel if RUN_WHEEL_CHECK is true
|
# Check the size of the wheel if RUN_WHEEL_CHECK is true
|
||||||
COPY .buildkite/check-wheel-size.py check-wheel-size.py
|
COPY .buildkite/check-wheel-size.py check-wheel-size.py
|
||||||
# Default max size of the wheel is 250MB
|
# sync the default value with .buildkite/check-wheel-size.py
|
||||||
ARG VLLM_MAX_SIZE_MB=250
|
ARG VLLM_MAX_SIZE_MB=300
|
||||||
ENV VLLM_MAX_SIZE_MB=$VLLM_MAX_SIZE_MB
|
ENV VLLM_MAX_SIZE_MB=$VLLM_MAX_SIZE_MB
|
||||||
ARG RUN_WHEEL_CHECK=true
|
ARG RUN_WHEEL_CHECK=true
|
||||||
RUN if [ "$RUN_WHEEL_CHECK" = "true" ]; then \
|
RUN if [ "$RUN_WHEEL_CHECK" = "true" ]; then \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user