Skip to content

Commit 01c363f

Browse files
authored
fix: remove stale NCCL preload entry to silence ld.so warning (#654)
* remove stale NCCL preload entry to silence ld.so warning * preloading libnccl.so from the correct path
1 parent 591301b commit 01c363f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/images/nvidia/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ RUN git clone https://github.com/NVIDIA/nccl-tests /tmp/nccl-tests \
110110
# Set a default command for debugging or modify as per requirements
111111
ENV NCCL_PROTO simple
112112
# see https://linux.die.net/man/8/ld.so for usage. replaces LD_PRELOAD env.
113-
RUN echo "/usr/lib/$(uname -m)-linux-gnu/libnccl.so" >> /etc/ld.so.preload
113+
RUN echo "/usr/local/lib/libnccl.so" >> /etc/ld.so.preload
114114

115115
RUN rm -rf /var/lib/apt/lists/*
116116

0 commit comments

Comments
 (0)