Skip to content

Commit 1367167

Browse files
Added OMPI_MCA_pml, OMPI_MCA_btl, OMPI_MCA_btl_tcp_if_exclude, and NCCL_SOCKET_IFNAME to the base images
1 parent 78dc094 commit 1367167

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docker/base/Dockerfile.common

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
1010

1111
ENV PATH="${UV_INSTALL_DIR}:${PATH}"
1212

13+
ENV OMPI_MCA_pml=^cm,ucx
14+
ENV OMPI_MCA_btl=tcp,self
15+
ENV OMPI_MCA_btl_tcp_if_exclude=lo,docker0
16+
ENV NCCL_SOCKET_IFNAME=^docker,lo
17+
1318
RUN export DEBIAN_FRONTEND=noninteractive \
1419
&& apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${UBUNTU_VERSION}04/x86_64/3bf863cc.pub \
1520
&& apt-get update --fix-missing \

0 commit comments

Comments
 (0)