Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/docker.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[DEFAULT]
build_docker_image_pytorch_version = 1.10.0-cuda11.3-cudnn8
build_docker_image_hvd_version = v0.23.0
build_docker_image_msdp_version = v0.5.4
build_docker_image_msdp_version = v0.5.9
4 changes: 2 additions & 2 deletions docker/hvd/Dockerfile.hvd-apex
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ARG HVD_VERSION
# Build Horovod
RUN apt-get update && apt-get install -y git && \
git clone --recursive --depth 1 --branch ${HVD_VERSION} https://github.com/horovod/horovod.git /horovod && \
conda install -y cmake nccl=2.8 -c conda-forge && \
conda install -y cmake nccl=2.11 -c conda-forge && \
cd /horovod && \
HOROVOD_GPU_OPERATIONS=NCCL HOROVOD_NCCL_LINK=SHARED HOROVOD_WITHOUT_MPI=1 HOROVOD_WITH_PYTORCH=1 pip wheel --no-cache-dir . && \
rm -rf /var/lib/apt/lists/*
Expand Down Expand Up @@ -74,7 +74,7 @@ RUN mkdir -p pytorch-ignite-examples && \
rm -rf .git

# Horovod
RUN conda install -y nccl=2.8 -c conda-forge
RUN conda install -y nccl=2.11 -c conda-forge

ENV LD_LIBRARY_PATH=/opt/conda/lib:$LD_LIBRARY_PATH

Expand Down
3 changes: 1 addition & 2 deletions docker/hvd/Dockerfile.hvd-apex-nlp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
FROM pytorchignite/hvd-apex:latest

# Ignite NLP dependencies
RUN pip install --upgrade --no-cache-dir torchtext \
transformers \
RUN pip install --upgrade --no-cache-dir transformers \
spacy \
nltk
4 changes: 2 additions & 2 deletions docker/hvd/Dockerfile.hvd-base
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARG HVD_VERSION
# Build Horovod
RUN apt-get update && apt-get install -y git && \
git clone --recursive --depth 1 --branch ${HVD_VERSION} https://github.com/horovod/horovod.git /horovod && \
conda install -y cmake nccl=2.8 -c conda-forge && \
conda install -y cmake nccl=2.11 -c conda-forge && \
cd /horovod && \
HOROVOD_GPU_OPERATIONS=NCCL HOROVOD_NCCL_LINK=SHARED HOROVOD_WITHOUT_MPI=1 HOROVOD_WITH_PYTORCH=1 pip wheel --no-cache-dir . && \
rm -rf /var/lib/apt/lists/*
Expand Down Expand Up @@ -53,7 +53,7 @@ RUN mkdir -p pytorch-ignite-examples && \
rm -rf .git

# Horovod
RUN conda install -y nccl=2.8 -c conda-forge
RUN conda install -y nccl=2.11 -c conda-forge

ENV LD_LIBRARY_PATH=/opt/conda/lib:$LD_LIBRARY_PATH

Expand Down
3 changes: 1 addition & 2 deletions docker/hvd/Dockerfile.hvd-nlp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
FROM pytorchignite/hvd-base:latest

# Ignite NLP dependencies
RUN pip install --upgrade --no-cache-dir torchtext \
transformers \
RUN pip install --upgrade --no-cache-dir transformers \
spacy \
nltk
3 changes: 1 addition & 2 deletions docker/main/Dockerfile.apex-nlp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
FROM pytorchignite/apex:latest

# Ignite NLP dependencies
RUN pip install --upgrade --no-cache-dir torchtext \
transformers \
RUN pip install --upgrade --no-cache-dir transformers \
spacy \
nltk
3 changes: 1 addition & 2 deletions docker/main/Dockerfile.nlp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
FROM pytorchignite/base:latest

# Ignite NLP dependencies
RUN pip install --upgrade --no-cache-dir torchtext \
transformers \
RUN pip install --upgrade --no-cache-dir transformers \
spacy \
nltk
3 changes: 1 addition & 2 deletions docker/msdp/Dockerfile.msdp-apex-nlp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
FROM pytorchignite/msdp-apex:latest

# Ignite NLP dependencies
RUN pip install --upgrade --no-cache-dir torchtext \
transformers \
RUN pip install --upgrade --no-cache-dir transformers \
spacy \
nltk
3 changes: 3 additions & 0 deletions docker/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,8 @@ def main():
if "vision" in image_type:
run_python_cmd("import cv2")

if "nlp" in image_type:
run_python_cmd("import torchtext, transformers")

if "apex" in image_type:
run_python_cmd("import apex")