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
79764460
Unverified
Commit
79764460
authored
Jul 15, 2025
by
Doug Smith
Committed by
GitHub
Jul 15, 2025
Browse files
Add Dockerfile argument for VLLM_USE_PRECOMPILED environment (#20943)
Signed-off-by:
dougbtv
<
dosmith@redhat.com
>
parent
fcb9f879
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
docker/Dockerfile
docker/Dockerfile
+13
-0
No files found.
docker/Dockerfile
View file @
79764460
...
@@ -207,6 +207,19 @@ ARG SCCACHE_ENDPOINT
...
@@ -207,6 +207,19 @@ ARG SCCACHE_ENDPOINT
ARG
SCCACHE_BUCKET_NAME=vllm-build-sccache
ARG
SCCACHE_BUCKET_NAME=vllm-build-sccache
ARG
SCCACHE_REGION_NAME=us-west-2
ARG
SCCACHE_REGION_NAME=us-west-2
ARG
SCCACHE_S3_NO_CREDENTIALS=0
ARG
SCCACHE_S3_NO_CREDENTIALS=0
# Flag to control whether to use pre-built vLLM wheels
ARG
VLLM_USE_PRECOMPILED
# TODO: in setup.py VLLM_USE_PRECOMPILED is sensitive to truthiness, it will take =0 as "true", this should be fixed
ENV
VLLM_USE_PRECOMPILED=""
RUN if
[
"
${
VLLM_USE_PRECOMPILED
}
"
=
"1"
]
;
then
\
export
VLLM_USE_PRECOMPILED
=
1
&&
\
echo
"Using precompiled wheels"
;
\
else
\
unset
VLLM_USE_PRECOMPILED
&&
\
echo
"Leaving VLLM_USE_PRECOMPILED unset to build wheels from source"
;
\
fi
# if USE_SCCACHE is set, use sccache to speed up compilation
# if USE_SCCACHE is set, use sccache to speed up compilation
RUN
--mount
=
type
=
cache,target
=
/root/.cache/uv
\
RUN
--mount
=
type
=
cache,target
=
/root/.cache/uv
\
--mount
=
type
=
bind
,source
=
.git,target
=
.git
\
--mount
=
type
=
bind
,source
=
.git,target
=
.git
\
...
...
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