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
1958b3aa
Unverified
Commit
1958b3aa
authored
Jul 22, 2025
by
zaristei
Committed by
GitHub
Jul 22, 2025
Browse files
build: Fixes for vLLM Blackwell Builds (#2020)
parent
b127d95f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
container/Dockerfile.vllm
container/Dockerfile.vllm
+2
-1
container/deps/vllm/install_vllm.sh
container/deps/vllm/install_vllm.sh
+13
-8
No files found.
container/Dockerfile.vllm
View file @
1958b3aa
...
...
@@ -171,7 +171,8 @@ ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"
# TEMP: disable gds backend for arm64
RUN if [ "$ARCH" = "arm64" ]; then \
cd ${NIXL_SRC_DIR} && uv build . --out-dir /workspace/wheels/nixl \
--config-settings=setup-args="-Ddisable_gds_backend=true -Dgds_path=/usr/local/cuda/targets/sbsa-linux"; \
--config-settings=setup-args="-Ddisable_gds_backend=true" \
--config-settings=setup-args="-Dgds_path=/usr/local/cuda/targets/sbsa-linux"; \
else \
cd ${NIXL_SRC_DIR} && uv build . --out-dir /workspace/wheels/nixl; \
fi && \
...
...
container/deps/vllm/install_vllm.sh
View file @
1958b3aa
...
...
@@ -119,9 +119,10 @@ if [ "$ARCH" = "arm64" ]; then
# Try to install specific PyTorch version first, fallback to latest nightly
echo
"Attempting to install pinned PyTorch nightly versions..."
if
!
uv pip
install
torch
==
2.9.0.dev20250712+cu128
torchvision
==
0.24.0.dev20250712+cu128
torchaudio
==
2.8.0.dev20250712+cu128
--index-url
https://download.pytorch.org/whl/nightly/cu128
;
then
echo
"Pinned versions failed, falling back to latest stable..."
uv pip
install
torch torchvision torchaudio
--index-url
https://download.pytorch.org/whl/cu128
if
!
uv pip
install
torch
==
2.8.0.dev20250613+cu128
torchaudio
==
2.8.0.dev20250616
torchvision
==
0.23.0.dev20250616
--index-url
https://download.pytorch.org/whl/nightly/cu128
;
then
echo
"Pinned versions failed"
exit
1
# uv pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128
fi
python use_existing_torch.py
...
...
@@ -163,10 +164,14 @@ python setup.py install
# Install Flash Infer
cd
$INSTALLATION_DIR
git clone https://github.com/flashinfer-ai/flashinfer.git
--recursive
cd
flashinfer
git checkout
$FLASHINF_REF
python
-m
pip
install
-v
.
if
[
"
$ARCH
"
=
"arm64"
]
;
then
uv pip
install
flashinfer-python
else
cd
$INSTALLATION_DIR
git clone https://github.com/flashinfer-ai/flashinfer.git
--recursive
cd
flashinfer
git checkout
$FLASHINF_REF
python
-m
pip
install
-v
.
fi
echo
"vllm installation completed successfully"
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