Skip to content

Commit 4c8e822

Browse files
committed
Specify the horovod version in docker test file
1 parent 6d0d027 commit 4c8e822

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ addons:
2828

2929
before_install:
3030
- ./scripts/install_mpi.sh $MPI
31-
- pip$PY install numpy==1.18.1
3231
- pip$PY install torch==1.4.0
32+
- pip$PY install numpy
3333
- pip$PY install matplotlib # For the plot in doc
3434
- python$PY --version
3535
- python$PY -c "import torch; print(torch.__version__)"

dockerfile.cpu.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ RUN mkdir /tmp/openmpi && \
6060

6161
# Install Horovod
6262
RUN HOROVOD_WITH_TENSORFLOW=1 HOROVOD_WITH_PYTORCH=1 HOROVOD_WITHOUT_MXNET=1 \
63-
pip install --no-cache-dir horovod
63+
pip install --no-cache-dir horovod==0.19.0
6464

6565
# Install OpenSSH for MPI to communicate between containers
6666
RUN apt-get install -y --no-install-recommends openssh-client openssh-server && \

dockerfile.gpu.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ RUN mkdir /tmp/openmpi && \
7272
# Install Horovod, temporarily using CUDA stubs
7373
RUN ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
7474
HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_WITH_TENSORFLOW=1 HOROVOD_WITH_PYTORCH=1 HOROVOD_WITHOUT_MXNET=1 \
75-
pip install --no-cache-dir horovod && \
75+
pip install --no-cache-dir horovod==0.19.0 && \
7676
ldconfig
7777

7878
# Install OpenSSH for MPI to communicate between containers

0 commit comments

Comments
 (0)