Skip to content

Commit 44e3015

Browse files
authored
fix nccl version (#8540)
* fix nccl version * enable nccl test
1 parent 50a6e7c commit 44e3015

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ COPY ./paddle/scripts/docker/root/ /root/
2222

2323
RUN apt-get update && \
2424
apt-get install -y \
25-
git python-pip python-dev openssh-server bison libnccl-dev \
25+
git python-pip python-dev openssh-server bison \
26+
libnccl2=2.1.2-1+cuda8.0 libnccl-dev=2.1.2-1+cuda8.0 \
2627
wget unzip unrar tar xz-utils bzip2 gzip coreutils ntp \
2728
curl sed grep graphviz libjpeg-dev zlib1g-dev \
2829
python-matplotlib gcc-4.8 g++-4.8 \

paddle/fluid/platform/nccl_test.cu

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,6 @@ TEST(NCCL, all_reduce) {
129129
} // namespace paddle
130130

131131
int main(int argc, char** argv) {
132-
// FIXME(tonyyang-svail):
133-
// Due to the driver issue on our CI, disable for now
134-
return 0;
135132
dev_count = paddle::platform::GetCUDADeviceCount();
136133
if (dev_count <= 1) {
137134
LOG(WARNING)

paddle/scripts/docker/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ EOF
171171
EOF
172172

173173
if [[ ${WITH_GPU} == "ON" ]]; then
174-
NCCL_DEPS="apt-get install -y libnccl-dev &&"
174+
NCCL_DEPS="apt-get install -y libnccl2=2.1.2-1+cuda8.0 libnccl-dev=2.1.2-1+cuda8.0 &&"
175175
else
176176
NCCL_DEPS=""
177177
fi

0 commit comments

Comments
 (0)