test=develop, fix docker with paddle nccl problem (#18451)

sum_op
Jiabin Yang 6 years ago committed by GitHub
parent 3f3112ceb0
commit f72ced8814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -921,6 +921,12 @@ EOF
# default command shows the paddle version and exit
CMD [${CMD}]
EOF
if [[ ${WITH_GPU} == "ON" ]]; then
cat >> ${PADDLE_ROOT}/build/Dockerfile <<EOF
RUN rm /usr/lib/x86_64-linux-gnu/libnccl.so
RUN ln -s /usr/lib/x86_64-linux-gnu/libnccl.so.2 /usr/lib/x86_64-linux-gnu/libnccl.so
EOF
fi
}
function gen_fluid_lib() {

Loading…
Cancel
Save