diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index d9214d0b8cef948dfca2ac9b1e3597fefc990786..b434c9f08e96abe16c1194e69af40392e6e4ca0c 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -598,7 +598,7 @@ EOF EOF if [[ ${WITH_GPU} == "ON" ]]; then - NCCL_DEPS="apt-get install -y --allow-downgrades libnccl2=2.2.13-1+cuda${CUDA_MAJOR} libnccl-dev=2.2.13-1+cuda${CUDA_MAJOR} &&" + NCCL_DEPS="apt-get install -y --allow-downgrades libnccl2=2.2.13-1+cuda${CUDA_MAJOR} libnccl-dev=2.2.13-1+cuda${CUDA_MAJOR} || true" else NCCL_DEPS="" fi @@ -614,9 +614,8 @@ EOF cat >> ${PADDLE_ROOT}/build/Dockerfile <