Skip to content

Commit 43df089

Browse files
committed
Removed pip upgrade from Dockerfiles
1 parent abe0628 commit 43df089

16 files changed

Lines changed: 9 additions & 25 deletions

File tree

DGLPyTorch/DrugDiscovery/RoseTTAFold/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,4 @@ WORKDIR /workspace/rf
6969

7070
RUN wget https://openstructure.org/static/lddt-linux.zip -O lddt.zip && unzip -d lddt -j lddt.zip
7171

72-
RUN pip install --upgrade pip
7372
RUN pip install -r requirements.txt

DGLPyTorch/DrugDiscovery/SE3Transformer/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ COPY --from=dgl_builder /dgl ./dgl
5050
RUN cd dgl/python && python setup.py install && cd ../.. && rm -rf dgl
5151

5252
ADD requirements.txt .
53-
RUN pip install --no-cache-dir --upgrade --pre pip
5453
RUN pip install --no-cache-dir -r requirements.txt
5554
ADD . .
5655

PyTorch/LanguageModeling/BART/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ ARG FROM_IMAGE_NAME=nvcr.io/nvidia/pytorch:21.02-py3
1717
FROM ${FROM_IMAGE_NAME}
1818
RUN apt-get update && apt-get install -y pbzip2
1919

20-
RUN pip install --upgrade --no-cache-dir pip \
21-
&& pip install --no-cache-dir tokenizers==0.8.0 dataclasses gitpython rouge-score pynvml==8.0.4 \
20+
RUN pip install --no-cache-dir tokenizers==0.8.0 dataclasses gitpython rouge-score pynvml==8.0.4 \
2221
git+https://github.com/NVIDIA/dllogger pytorch-lightning==1.1.5 gdown
2322

2423
RUN pip install tqdm --upgrade

PyTorch/LanguageModeling/BERT/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ RUN apt-get install libb64-0d
3131
RUN pip install /workspace/install/python/tensorrtserver*.whl
3232

3333
WORKDIR /workspace/bert
34-
RUN pip install --upgrade --no-cache-dir pip \
35-
&& pip install --no-cache-dir \
34+
RUN pip install --no-cache-dir \
3635
tqdm boto3 requests six ipdb h5py nltk progressbar onnxruntime \
3736
git+https://github.com/NVIDIA/dllogger wget
3837

PyTorch/Segmentation/MaskRCNN/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ ARG FROM_IMAGE_NAME=nvcr.io/nvidia/pytorch:20.06-py3
1616
FROM ${FROM_IMAGE_NAME}
1717

1818
# Install Python dependencies
19-
RUN pip install --upgrade --no-cache-dir pip \
20-
&& pip install --no-cache-dir \
19+
RUN pip install --no-cache-dir \
2120
mlperf-compliance==0.0.10 \
2221
opencv-python==4.2.0.32 \
2322
git+https://github.com/NVIDIA/dllogger \

PyTorch/Segmentation/MaskRCNN/pytorch/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ ARG FROM_IMAGE_NAME=nvcr.io/nvidia/pytorch:20.06-py3
1616
FROM ${FROM_IMAGE_NAME}
1717

1818
# Install Python dependencies
19-
RUN pip install --upgrade --no-cache-dir pip \
20-
&& pip install --no-cache-dir \
19+
RUN pip install --no-cache-dir \
2120
mlperf-compliance==0.0.10 \
2221
opencv-python==4.2.0.32 \
2322
git+https://github.com/NVIDIA/dllogger \

PyTorch/Segmentation/nnUNet/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ RUN pip install --disable-pip-version-check -r /requirements.txt
66
RUN apt-get update && apt-get install -y libb64-dev libb64-0d
77

88
ADD ./requirements.txt /
9-
RUN pip install --upgrade pip
109
RUN pip install --disable-pip-version-check -r /requirements.txt
1110
RUN pip install monai==0.7.0 --no-dependencies
1211
RUN pip install numpy --upgrade

PyTorch/Translation/Transformer/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ WORKDIR /workspace
2020
# && cd apex \
2121
# && pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./
2222
# Install Python dependencies
23-
RUN pip install --upgrade --no-cache-dir pip \
24-
&& pip install --no-cache-dir \
23+
RUN pip install --no-cache-dir \
2524
sacrebleu \
2625
sentencepiece
2726
RUN pip install jupyter

TensorFlow/LanguageModeling/BERT/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ ARG FROM_IMAGE_NAME=nvcr.io/nvidia/tensorflow:20.06-tf1-py3
33
FROM ${FROM_IMAGE_NAME}
44

55
RUN apt-get update && apt-get install -y pbzip2 pv bzip2 libcurl4 curl libb64-dev
6-
RUN pip install --upgrade pip
76
RUN pip install toposort networkx pytest nltk tqdm progressbar pynvml
87
RUN pip --no-cache-dir --no-cache install git+https://github.com/NVIDIA/dllogger wget
98

TensorFlow/Segmentation/UNet_3D_Medical/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ FROM ${FROM_IMAGE_NAME}
44
ADD . /workspace/unet3d
55
WORKDIR /workspace/unet3d
66

7-
RUN pip install --upgrade pip
87
RUN pip install git+https://github.com/NVIDIA/dllogger
98
RUN pip install --disable-pip-version-check -r requirements.txt

0 commit comments

Comments
 (0)