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
dynamo
Commits
15663b85
Unverified
Commit
15663b85
authored
Oct 30, 2025
by
Karen Chung
Committed by
GitHub
Oct 30, 2025
Browse files
chore: override docker build defaults for vllm + arm64 (#3980)
parent
7ca658f4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
container/build.sh
container/build.sh
+26
-0
No files found.
container/build.sh
View file @
15663b85
...
...
@@ -491,6 +491,32 @@ if [[ "$PLATFORM" == *"linux/arm64"* ]]; then
BUILD_ARGS+
=
" --build-arg ARCH=arm64 --build-arg ARCH_ALT=aarch64 "
fi
# Special handling for vLLM on ARM64 - set required defaults if not already specified by user
if
[[
$FRAMEWORK
==
"VLLM"
]]
&&
[[
"
$PLATFORM
"
==
*
"linux/arm64"
*
]]
;
then
# Set base image tag to CUDA 12.9 if using the default value (user didn't override)
if
[
"
$BASE_IMAGE_TAG
"
==
"
$VLLM_BASE_IMAGE_TAG
"
]
;
then
BASE_IMAGE_TAG
=
"25.06-cuda12.9-devel-ubuntu24.04"
echo
"INFO: Automatically setting base-image-tag to
$BASE_IMAGE_TAG
for vLLM ARM64"
fi
# Add required build args if not already present
if
[[
"
$BUILD_ARGS
"
!=
*
"RUNTIME_IMAGE_TAG"
*
]]
;
then
BUILD_ARGS+
=
" --build-arg RUNTIME_IMAGE_TAG=12.9.0-runtime-ubuntu24.04 "
echo
"INFO: Automatically setting RUNTIME_IMAGE_TAG=12.9.0-runtime-ubuntu24.04 for vLLM ARM64"
fi
if
[[
"
$BUILD_ARGS
"
!=
*
"CUDA_VERSION"
*
]]
;
then
BUILD_ARGS+
=
" --build-arg CUDA_VERSION=129 "
echo
"INFO: Automatically setting CUDA_VERSION=129 for vLLM ARM64"
fi
if
[[
"
$BUILD_ARGS
"
!=
*
"TORCH_BACKEND"
*
]]
;
then
BUILD_ARGS+
=
" --build-arg TORCH_BACKEND=cu129 "
echo
"INFO: Automatically setting TORCH_BACKEND=cu129 for vLLM ARM64"
fi
fi
# Update DOCKERFILE if framework is VLLM
if
[[
$FRAMEWORK
==
"VLLM"
]]
;
then
DOCKERFILE
=
${
SOURCE_DIR
}
/Dockerfile.vllm
...
...
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