File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
tensorflow_serving/tools/docker Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -126,16 +126,16 @@ RUN mkdir /usr/lib/x86_64-linux-gnu/include/ && \
126126
127127# NCCL 2.x
128128ENV TF_NCCL_VERSION=2
129- ENV NCCL_INSTALL_PATH=/usr/lib/nccl/lib
130- ENV NCCL_HDR_PATH=/usr/lib/nccl/include
129+ ENV NCCL_INSTALL_PATH=/usr/lib/nccl/
131130
132131# Fix paths so that NCCL can be found
133132WORKDIR /
134133RUN mkdir -p ${NCCL_INSTALL_PATH} && \
135- mkdir -p ${NCCL_HDR_PATH} && \
136- ln -s /usr/include/nccl.h ${NCCL_HDR_PATH}/nccl.h && \
137- ln -s /usr/lib/x86_64-linux-gnu/libnccl.so ${NCCL_INSTALL_PATH}/libnccl.so && \
138- ln -s /usr/lib/x86_64-linux-gnu/libnccl.so.${TF_NCCL_VERSION} ${NCCL_INSTALL_PATH}/libnccl.so.${TF_NCCL_VERSION}
134+ mkdir ${NCCL_INSTALL_PATH}include/ && \
135+ mkdir ${NCCL_INSTALL_PATH}lib/ && \
136+ ln -s /usr/include/nccl.h ${NCCL_INSTALL_PATH}include/nccl.h && \
137+ ln -s /usr/lib/x86_64-linux-gnu/libnccl.so ${NCCL_INSTALL_PATH}lib/libnccl.so && \
138+ ln -s /usr/lib/x86_64-linux-gnu/libnccl.so.${TF_NCCL_VERSION} ${NCCL_INSTALL_PATH}lib/libnccl.so.${TF_NCCL_VERSION}
139139
140140# Set TMP for nvidia build environment
141141ENV TMP="/tmp"
You can’t perform that action at this time.
0 commit comments