Skip to content

Commit 01c0a81

Browse files
authored
Dockerfile: add --allow-downgrades option when install libnccl. (#10850)
1 parent 80868f7 commit 01c0a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/scripts/paddle_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ EOF
433433
EOF
434434

435435
if [[ ${WITH_GPU} == "ON" ]]; then
436-
NCCL_DEPS="apt-get install -y libnccl2=2.1.2-1+cuda${CUDA_MAJOR} libnccl-dev=2.1.2-1+cuda${CUDA_MAJOR} &&"
436+
NCCL_DEPS="apt-get install -y --allow-downgrades libnccl2=2.1.2-1+cuda${CUDA_MAJOR} libnccl-dev=2.1.2-1+cuda${CUDA_MAJOR} &&"
437437
else
438438
NCCL_DEPS=""
439439
fi

0 commit comments

Comments
 (0)