File tree Expand file tree Collapse file tree 4 files changed +6
-12
lines changed Expand file tree Collapse file tree 4 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,9 @@ RUN if [ "$DRIVER_TYPE" != "vgpu" ]; then \
8181RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "550" ]; then \
8282 dnf install -y nvidia-imex-${DRIVER_BRANCH}-${DRIVER_VERSION}-1; fi
8383
84+ RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "570" ]; then \
85+ dnf install -y infiniband-diags nvlsm; fi
86+
8487COPY nvidia-driver /usr/local/bin
8588COPY ocp_dtk_entrypoint /usr/local/bin
8689COPY common.sh /usr/local/bin
Original file line number Diff line number Diff line change @@ -289,12 +289,6 @@ _ensure_nvlink5_prerequisites() (
289289 echo " waiting for the mlx5_core and ib_umad kernel modules to be loaded"
290290 sleep 10
291291 done
292-
293- echo " Installing Infiniband packages"
294- dnf -q -y --releasever=${DNF_RELEASEVER} install libibverbs-utils infiniband-diags > /dev/null
295-
296- echo " Installing the NVLink subnet manager..."
297- dnf -q -y --releasever=${DNF_RELEASEVER} install nvlsm > /dev/null
298292)
299293
300294# For each kernel module configuration file mounted into the container,
Original file line number Diff line number Diff line change @@ -75,6 +75,9 @@ RUN if [ "$DRIVER_TYPE" != "vgpu" ]; then \
7575RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "550" ]; then \
7676 dnf install -y nvidia-imex-${DRIVER_BRANCH}-${DRIVER_VERSION}-1; fi
7777
78+ RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "570" ]; then \
79+ dnf install -y infiniband-diags nvlsm; fi
80+
7881COPY nvidia-driver /usr/local/bin
7982COPY ocp_dtk_entrypoint /usr/local/bin
8083COPY common.sh /usr/local/bin
Original file line number Diff line number Diff line change @@ -291,12 +291,6 @@ _ensure_nvlink5_prerequisites() (
291291 echo " waiting for the mlx5_core and ib_umad kernel modules to be loaded"
292292 sleep 10
293293 done
294-
295- echo " Installing Infiniband packages..."
296- dnf -q -y --releasever=${DNF_RELEASEVER} install libibverbs-utils infiniband-diags > /dev/null
297-
298- echo " Installing the NVLink subnet manager..."
299- dnf -q -y --releasever=${DNF_RELEASEVER} install nvlsm > /dev/null
300294)
301295
302296# For each kernel module configuration file mounted into the container,
You can’t perform that action at this time.
0 commit comments