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
af1b07b0
Unverified
Commit
af1b07b0
authored
Jan 05, 2026
by
Qidong Su
Committed by
GitHub
Jan 05, 2026
Browse files
[docker] install cuda13 version of lmcache and nixl (#30913)
Signed-off-by:
Qidong Su
<
soodoshll@gmail.com
>
parent
c77a993c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
docker/Dockerfile
docker/Dockerfile
+20
-1
No files found.
docker/Dockerfile
View file @
af1b07b0
...
...
@@ -615,6 +615,7 @@ RUN mv vllm src/vllm
FROM
vllm-base AS vllm-openai-base
ARG
TARGETPLATFORM
ARG
INSTALL_KV_CONNECTORS=false
ARG
CUDA_VERSION
ARG
PIP_INDEX_URL UV_INDEX_URL
ARG
PIP_EXTRA_INDEX_URL UV_EXTRA_INDEX_URL
...
...
@@ -626,8 +627,26 @@ ENV UV_HTTP_TIMEOUT=500
# install kv_connectors if requested
RUN
--mount
=
type
=
cache,target
=
/root/.cache/uv
\
--mount
=
type
=
bind
,source
=
requirements/kv_connectors.txt,target
=
/tmp/kv_connectors.txt,ro
\
CUDA_MAJOR
=
"
${
CUDA_VERSION
%%.*
}
"
;
\
CUDA_VERSION_DASH
=
$(
echo
$CUDA_VERSION
|
cut
-d
.
-f1
,2 |
tr
'.'
'-'
)
;
\
CUDA_HOME
=
/usr/local/cuda
;
\
# lmcache requires explicit specifying CUDA_HOME
BUILD_PKGS="libcusparse-dev-${CUDA_VERSION_DASH} \
libcublas-dev-${CUDA_VERSION_DASH} \
libcusolver-dev-${CUDA_VERSION_DASH}"; \
if [ "$INSTALL_KV_CONNECTORS" = "true" ]; then \
uv pip
install
--system
-r
/tmp/kv_connectors.txt
||
true
;
\
if [ "$CUDA_MAJOR" -ge 13 ]; then \
uv pip install --system nixl-cu13; \
fi; \
uv pip install --system -r /tmp/kv_connectors.txt --no-build || ( \
# if the above fails, install from source
apt-get update -y && \
apt-get install -y --no-install-recommends ${BUILD_PKGS} && \
uv pip install --system -r /tmp/kv_connectors.txt --no-build-isolation && \
apt-get purge -y ${BUILD_PKGS} && \
# clean up -dev packages, keep runtime libraries
rm -rf /var/lib/apt/lists/* \
); \
fi
ENV
VLLM_USAGE_SOURCE production-docker-image
...
...
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