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
8f24c027
Unverified
Commit
8f24c027
authored
Aug 14, 2025
by
Kris Hung
Committed by
GitHub
Aug 14, 2025
Browse files
build: Pin torch versions and skip lmcache installation for ARM build (#2430)
parent
e71f71f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
container/deps/vllm/install_vllm.sh
container/deps/vllm/install_vllm.sh
+7
-3
No files found.
container/deps/vllm/install_vllm.sh
View file @
8f24c027
...
@@ -112,8 +112,12 @@ echo " TORCH_BACKEND: $TORCH_BACKEND"
...
@@ -112,8 +112,12 @@ echo " TORCH_BACKEND: $TORCH_BACKEND"
# Install common dependencies
# Install common dependencies
uv pip
install
pip cuda-python
uv pip
install
pip cuda-python
# Install LMCache
if
[
"
$ARCH
"
=
"amd64"
]
;
then
uv pip
install
lmcache
# LMCache installation currently fails on arm64 due to CUDA dependency issues:
# OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
# TODO: Re-enable for arm64 after verifying lmcache compatibility and resolving the build issue.
uv pip
install
lmcache
==
0.3.3
fi
# Create vllm directory and clone
# Create vllm directory and clone
mkdir
-p
$INSTALLATION_DIR
mkdir
-p
$INSTALLATION_DIR
...
@@ -127,7 +131,7 @@ if [ "$ARCH" = "arm64" ]; then
...
@@ -127,7 +131,7 @@ if [ "$ARCH" = "arm64" ]; then
# Try to install specific PyTorch version first, fallback to latest nightly
# Try to install specific PyTorch version first, fallback to latest nightly
echo
"Attempting to install pinned PyTorch nightly versions..."
echo
"Attempting to install pinned PyTorch nightly versions..."
if
!
uv pip
install
torch
==
2.
8.0.dev20250613
+cu128
torchaudio
==
2.
8.0.dev20250616
torchvision
==
0.2
3.0.dev20250616
--index-url
https://download.pytorch.org/whl
/nightly/cu128
;
then
if
!
uv pip
install
torch
==
2.
7.1
+cu128
torchaudio
==
2.
7.1
torchvision
==
0.2
2.1
--index-url
https://download.pytorch.org/whl
;
then
echo
"Pinned versions failed"
echo
"Pinned versions failed"
exit
1
exit
1
# uv pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128
# uv pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128
...
...
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