Skip to content

Commit 4d955c4

Browse files
Add Infiniband and RDMA packages to KFTO CUDA image
1 parent 1230079 commit 4d955c4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

images/runtime/training/cuda/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,18 @@ RUN dnf install -y \
8686
&& dnf clean all \
8787
&& rm -rf /var/cache/dnf/*
8888

89+
# Install InfiniBand and RDMA packages
90+
RUN dnf config-manager \
91+
--add-repo https://linux.mellanox.com/public/repo/mlnx_ofed/latest/rhel9.5/mellanox_mlnx_ofed.repo \
92+
&& dnf install -y \
93+
libibverbs-utils \
94+
infiniband-diags \
95+
libibumad \
96+
librdmacm \
97+
rdma-core \
98+
&& dnf clean all \
99+
&& rm -rf /var/cache/dnf/*
100+
89101
# Install Python packages
90102

91103
# Install micropipenv to deploy packages from Pipfile.lock

0 commit comments

Comments
 (0)