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
30d4612e
Unverified
Commit
30d4612e
authored
Jul 29, 2025
by
Kapil Arya
Committed by
GitHub
Jul 29, 2025
Browse files
fix: install rdma libs in runtime image. (#2163)
Signed-off-by:
Kapil Arya
<
kapila@nvidia.com
>
parent
157714aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
6 deletions
+38
-6
container/Dockerfile.sglang
container/Dockerfile.sglang
+13
-1
container/Dockerfile.tensorrt_llm
container/Dockerfile.tensorrt_llm
+14
-1
container/Dockerfile.vllm
container/Dockerfile.vllm
+11
-4
No files found.
container/Dockerfile.sglang
View file @
30d4612e
...
@@ -58,6 +58,10 @@ RUN apt-get update -y && \
...
@@ -58,6 +58,10 @@ RUN apt-get update -y && \
meson \
meson \
ninja-build \
ninja-build \
pybind11-dev \
pybind11-dev \
# These headers are missing with the hpcx installer, required
# by UCX to find RDMA devices
libibverbs-dev rdma-core ibverbs-utils libibumad-dev \
libnuma-dev librdmacm-dev ibverbs-providers \
# Rust build dependencies
# Rust build dependencies
clang \
clang \
libclang-dev \
libclang-dev \
...
@@ -423,7 +427,15 @@ $LD_LIBRARY_PATH
...
@@ -423,7 +427,15 @@ $LD_LIBRARY_PATH
# libnuma-dev is a required dependency for sglang integration with NIXL
# libnuma-dev is a required dependency for sglang integration with NIXL
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
RUN apt-get update && \
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential python3-dev libnuma-dev && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
build-essential python3-dev libnuma-dev \
# Curl for polling various endpoints.
curl \
# For debugging
vim \
# Libraries required by UCX to find RDMA devices
libibverbs1 rdma-core ibverbs-utils libibumad3 \
libnuma1 librdmacm1 ibverbs-providers && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/lib/apt/lists/* && \
uv venv $VIRTUAL_ENV --python 3.12 && \
uv venv $VIRTUAL_ENV --python 3.12 && \
echo "source $VIRTUAL_ENV/bin/activate" >> ~/.bashrc
echo "source $VIRTUAL_ENV/bin/activate" >> ~/.bashrc
...
...
container/Dockerfile.tensorrt_llm
View file @
30d4612e
...
@@ -65,8 +65,14 @@ RUN apt update -y && \
...
@@ -65,8 +65,14 @@ RUN apt update -y && \
tmux \
tmux \
vim \
vim \
## NIXL dependencies
## NIXL dependencies
cmake \
meson \
meson \
ninja-build
ninja-build \
pybind11-dev \
# These headers are missing with the hpcx installer, required
# by UCX to find RDMA devices
libibverbs-dev rdma-core ibverbs-utils libibumad-dev \
libnuma-dev librdmacm-dev ibverbs-providers
### UCX EFA Setup ###
### UCX EFA Setup ###
RUN rm -rf /opt/hpcx/ucx && \
RUN rm -rf /opt/hpcx/ucx && \
...
@@ -374,6 +380,13 @@ RUN apt-get update && \
...
@@ -374,6 +380,13 @@ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
build-essential \
build-essential \
python3-dev \
python3-dev \
# Curl for polling various endpoints.
curl \
# For debugging
vim \
# Libraries required by UCX to find RDMA devices
libibverbs1 rdma-core ibverbs-utils libibumad3 \
libnuma1 librdmacm1 ibverbs-providers \
openssh-client \
openssh-client \
openssh-server && \
openssh-server && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/*
...
...
container/Dockerfile.vllm
View file @
30d4612e
...
@@ -56,6 +56,10 @@ RUN apt-get update -y && \
...
@@ -56,6 +56,10 @@ RUN apt-get update -y && \
meson \
meson \
ninja-build \
ninja-build \
pybind11-dev \
pybind11-dev \
# These headers are missing with the hpcx installer, required
# by UCX to find RDMA devices
libibverbs-dev rdma-core ibverbs-utils libibumad-dev \
libnuma-dev librdmacm-dev ibverbs-providers \
# Rust build dependencies
# Rust build dependencies
clang \
clang \
libclang-dev \
libclang-dev \
...
@@ -72,10 +76,6 @@ RUN apt-get update -y && \
...
@@ -72,10 +76,6 @@ RUN apt-get update -y && \
automake \
automake \
libtool \
libtool \
net-tools \
net-tools \
# These headers are missing with the hpcx installer, required
# by UCX to find RDMA devices
libibverbs-dev rdma-core ibverbs-utils libibumad-dev \
libnuma-dev librdmacm-dev ibverbs-providers \
# For Prometheus
# For Prometheus
curl tar ca-certificates && \
curl tar ca-certificates && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/*
...
@@ -437,6 +437,13 @@ RUN apt-get update && \
...
@@ -437,6 +437,13 @@ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
build-essential \
build-essential \
python3-dev \
python3-dev \
# Curl for polling various endpoints.
curl \
# For debugging
vim \
# Libraries required by UCX to find RDMA devices
libibverbs1 rdma-core ibverbs-utils libibumad3 \
libnuma1 librdmacm1 ibverbs-providers \
# JIT Kernel Compilation, flashinfer
# JIT Kernel Compilation, flashinfer
ninja-build \
ninja-build \
g++ \
g++ \
...
...
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