Skip to content

Commit c0972e1

Browse files
committed
Revert "Stop pinning nccl version. (#8421)"
This reverts commit 3cb45ba.
1 parent 3cb45ba commit c0972e1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker/caffe2/jenkins/common/install_nccl.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ if [ -n "$NCCL_UBUNTU_VER" ]; then
3030
apt-get install -y wget
3131
dpkg -i "${NCCL_DEB}"
3232

33+
# On March 8, 2018 Nvidia began recommending version 2.1.15
34+
NCCL_LIB_VERSION="2.1.15-1+cuda${CUDA_VERSION:0:3}"
35+
3336
apt update
34-
apt install -y libnccl2 libnccl-dev
37+
apt install -y libnccl2=$NCCL_LIB_VERSION libnccl-dev=$NCCL_LIB_VERSION
3538
fi

0 commit comments

Comments
 (0)