File tree Expand file tree Collapse file tree 9 files changed +13
-15
lines changed Expand file tree Collapse file tree 9 files changed +13
-15
lines changed Original file line number Diff line number Diff line change 1
1
[DEFAULT]
2
2
build_docker_image_pytorch_version = 1.10.0-cuda11.3-cudnn8
3
3
build_docker_image_hvd_version = v0.23.0
4
- build_docker_image_msdp_version = v0.5.4
4
+ build_docker_image_msdp_version = v0.5.9
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ ARG HVD_VERSION
26
26
# Build Horovod
27
27
RUN apt-get update && apt-get install -y git && \
28
28
git clone --recursive --depth 1 --branch ${HVD_VERSION} https://github.com/horovod/horovod.git /horovod && \
29
- conda install -y cmake nccl=2.8 -c conda-forge && \
29
+ conda install -y cmake nccl=2.11 -c conda-forge && \
30
30
cd /horovod && \
31
31
HOROVOD_GPU_OPERATIONS=NCCL HOROVOD_NCCL_LINK=SHARED HOROVOD_WITHOUT_MPI=1 HOROVOD_WITH_PYTORCH=1 pip wheel --no-cache-dir . && \
32
32
rm -rf /var/lib/apt/lists/*
@@ -74,7 +74,7 @@ RUN mkdir -p pytorch-ignite-examples && \
74
74
rm -rf .git
75
75
76
76
# Horovod
77
- RUN conda install -y nccl=2.8 -c conda-forge
77
+ RUN conda install -y nccl=2.11 -c conda-forge
78
78
79
79
ENV LD_LIBRARY_PATH=/opt/conda/lib:$LD_LIBRARY_PATH
80
80
Original file line number Diff line number Diff line change 2
2
FROM pytorchignite/hvd-apex:latest
3
3
4
4
# Ignite NLP dependencies
5
- RUN pip install --upgrade --no-cache-dir torchtext \
6
- transformers \
5
+ RUN pip install --upgrade --no-cache-dir transformers \
7
6
spacy \
8
7
nltk
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ ARG HVD_VERSION
10
10
# Build Horovod
11
11
RUN apt-get update && apt-get install -y git && \
12
12
git clone --recursive --depth 1 --branch ${HVD_VERSION} https://github.com/horovod/horovod.git /horovod && \
13
- conda install -y cmake nccl=2.8 -c conda-forge && \
13
+ conda install -y cmake nccl=2.11 -c conda-forge && \
14
14
cd /horovod && \
15
15
HOROVOD_GPU_OPERATIONS=NCCL HOROVOD_NCCL_LINK=SHARED HOROVOD_WITHOUT_MPI=1 HOROVOD_WITH_PYTORCH=1 pip wheel --no-cache-dir . && \
16
16
rm -rf /var/lib/apt/lists/*
@@ -53,7 +53,7 @@ RUN mkdir -p pytorch-ignite-examples && \
53
53
rm -rf .git
54
54
55
55
# Horovod
56
- RUN conda install -y nccl=2.8 -c conda-forge
56
+ RUN conda install -y nccl=2.11 -c conda-forge
57
57
58
58
ENV LD_LIBRARY_PATH=/opt/conda/lib:$LD_LIBRARY_PATH
59
59
Original file line number Diff line number Diff line change 2
2
FROM pytorchignite/hvd-base:latest
3
3
4
4
# Ignite NLP dependencies
5
- RUN pip install --upgrade --no-cache-dir torchtext \
6
- transformers \
5
+ RUN pip install --upgrade --no-cache-dir transformers \
7
6
spacy \
8
7
nltk
Original file line number Diff line number Diff line change 2
2
FROM pytorchignite/apex:latest
3
3
4
4
# Ignite NLP dependencies
5
- RUN pip install --upgrade --no-cache-dir torchtext \
6
- transformers \
5
+ RUN pip install --upgrade --no-cache-dir transformers \
7
6
spacy \
8
7
nltk
Original file line number Diff line number Diff line change 2
2
FROM pytorchignite/base:latest
3
3
4
4
# Ignite NLP dependencies
5
- RUN pip install --upgrade --no-cache-dir torchtext \
6
- transformers \
5
+ RUN pip install --upgrade --no-cache-dir transformers \
7
6
spacy \
8
7
nltk
Original file line number Diff line number Diff line change 2
2
FROM pytorchignite/msdp-apex:latest
3
3
4
4
# Ignite NLP dependencies
5
- RUN pip install --upgrade --no-cache-dir torchtext \
6
- transformers \
5
+ RUN pip install --upgrade --no-cache-dir transformers \
7
6
spacy \
8
7
nltk
Original file line number Diff line number Diff line change @@ -108,5 +108,8 @@ def main():
108
108
if "vision" in image_type :
109
109
run_python_cmd ("import cv2" )
110
110
111
+ if "nlp" in image_type :
112
+ run_python_cmd ("import torchtext, transformers" )
113
+
111
114
if "apex" in image_type :
112
115
run_python_cmd ("import apex" )
You can’t perform that action at this time.
0 commit comments