Removed pip upgrade from Dockerfiles
This commit is contained in:
parent
abe062867f
commit
43df08994f
|
@ -69,5 +69,4 @@ WORKDIR /workspace/rf
|
|||
|
||||
RUN wget https://openstructure.org/static/lddt-linux.zip -O lddt.zip && unzip -d lddt -j lddt.zip
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install -r requirements.txt
|
||||
|
|
|
@ -50,7 +50,6 @@ COPY --from=dgl_builder /dgl ./dgl
|
|||
RUN cd dgl/python && python setup.py install && cd ../.. && rm -rf dgl
|
||||
|
||||
ADD requirements.txt .
|
||||
RUN pip install --no-cache-dir --upgrade --pre pip
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
ADD . .
|
||||
|
||||
|
|
|
@ -17,8 +17,7 @@ ARG FROM_IMAGE_NAME=nvcr.io/nvidia/pytorch:21.02-py3
|
|||
FROM ${FROM_IMAGE_NAME}
|
||||
RUN apt-get update && apt-get install -y pbzip2
|
||||
|
||||
RUN pip install --upgrade --no-cache-dir pip \
|
||||
&& pip install --no-cache-dir tokenizers==0.8.0 dataclasses gitpython rouge-score pynvml==8.0.4 \
|
||||
RUN pip install --no-cache-dir tokenizers==0.8.0 dataclasses gitpython rouge-score pynvml==8.0.4 \
|
||||
git+https://github.com/NVIDIA/dllogger pytorch-lightning==1.1.5 gdown
|
||||
|
||||
RUN pip install tqdm --upgrade
|
||||
|
|
|
@ -31,8 +31,7 @@ RUN apt-get install libb64-0d
|
|||
RUN pip install /workspace/install/python/tensorrtserver*.whl
|
||||
|
||||
WORKDIR /workspace/bert
|
||||
RUN pip install --upgrade --no-cache-dir pip \
|
||||
&& pip install --no-cache-dir \
|
||||
RUN pip install --no-cache-dir \
|
||||
tqdm boto3 requests six ipdb h5py nltk progressbar onnxruntime \
|
||||
git+https://github.com/NVIDIA/dllogger wget
|
||||
|
||||
|
|
|
@ -16,8 +16,7 @@ ARG FROM_IMAGE_NAME=nvcr.io/nvidia/pytorch:20.06-py3
|
|||
FROM ${FROM_IMAGE_NAME}
|
||||
|
||||
# Install Python dependencies
|
||||
RUN pip install --upgrade --no-cache-dir pip \
|
||||
&& pip install --no-cache-dir \
|
||||
RUN pip install --no-cache-dir \
|
||||
mlperf-compliance==0.0.10 \
|
||||
opencv-python==4.2.0.32 \
|
||||
git+https://github.com/NVIDIA/dllogger \
|
||||
|
|
|
@ -16,8 +16,7 @@ ARG FROM_IMAGE_NAME=nvcr.io/nvidia/pytorch:20.06-py3
|
|||
FROM ${FROM_IMAGE_NAME}
|
||||
|
||||
# Install Python dependencies
|
||||
RUN pip install --upgrade --no-cache-dir pip \
|
||||
&& pip install --no-cache-dir \
|
||||
RUN pip install --no-cache-dir \
|
||||
mlperf-compliance==0.0.10 \
|
||||
opencv-python==4.2.0.32 \
|
||||
git+https://github.com/NVIDIA/dllogger \
|
||||
|
|
|
@ -6,7 +6,6 @@ RUN pip install --disable-pip-version-check -r /requirements.txt
|
|||
RUN apt-get update && apt-get install -y libb64-dev libb64-0d
|
||||
|
||||
ADD ./requirements.txt /
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install --disable-pip-version-check -r /requirements.txt
|
||||
RUN pip install monai==0.7.0 --no-dependencies
|
||||
RUN pip install numpy --upgrade
|
||||
|
|
|
@ -20,8 +20,7 @@ WORKDIR /workspace
|
|||
# && cd apex \
|
||||
# && pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./
|
||||
# Install Python dependencies
|
||||
RUN pip install --upgrade --no-cache-dir pip \
|
||||
&& pip install --no-cache-dir \
|
||||
RUN pip install --no-cache-dir \
|
||||
sacrebleu \
|
||||
sentencepiece
|
||||
RUN pip install jupyter
|
||||
|
|
|
@ -3,7 +3,6 @@ ARG FROM_IMAGE_NAME=nvcr.io/nvidia/tensorflow:20.06-tf1-py3
|
|||
FROM ${FROM_IMAGE_NAME}
|
||||
|
||||
RUN apt-get update && apt-get install -y pbzip2 pv bzip2 libcurl4 curl libb64-dev
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install toposort networkx pytest nltk tqdm progressbar pynvml
|
||||
RUN pip --no-cache-dir --no-cache install git+https://github.com/NVIDIA/dllogger wget
|
||||
|
||||
|
|
|
@ -4,6 +4,5 @@ FROM ${FROM_IMAGE_NAME}
|
|||
ADD . /workspace/unet3d
|
||||
WORKDIR /workspace/unet3d
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install git+https://github.com/NVIDIA/dllogger
|
||||
RUN pip install --disable-pip-version-check -r requirements.txt
|
||||
|
|
|
@ -22,8 +22,7 @@ FROM ${FROM_IMAGE_NAME}
|
|||
WORKDIR /opt
|
||||
COPY requirements.txt /opt/requirements_unet_tf_industrial.txt
|
||||
|
||||
RUN python -m pip --no-cache-dir --no-cache install --upgrade pip && \
|
||||
pip --no-cache-dir --no-cache install -r /opt/requirements_unet_tf_industrial.txt
|
||||
RUN pip --no-cache-dir --no-cache install -r /opt/requirements_unet_tf_industrial.txt
|
||||
|
||||
ENV TF_EXTRA_PTXAS_OPTIONS="-sw200428197=true"
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ FROM ${FROM_IMAGE_NAME}
|
|||
ADD . /workspace/vnet
|
||||
WORKDIR /workspace/vnet
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install --disable-pip-version-check -r requirements.txt
|
||||
|
||||
ENV TF_XLA_FLAGS="--tf_xla_enable_lazy_compilation=false"
|
||||
|
|
|
@ -24,7 +24,6 @@ ADD . /workspace
|
|||
WORKDIR /workspace
|
||||
COPY . .
|
||||
|
||||
RUN python -m pip install --upgrade pip && \
|
||||
pip --no-cache-dir --no-cache install --user -r requirements.txt
|
||||
RUN pip --no-cache-dir --no-cache install --user -r requirements.txt
|
||||
|
||||
RUN pip install git+https://github.com/NVIDIA/dllogger
|
|
@ -22,8 +22,7 @@ RUN git clone https://github.com/attardi/wikiextractor.git && cd wikiextractor &
|
|||
RUN git clone https://github.com/soskek/bookcorpus.git
|
||||
|
||||
WORKDIR /workspace/electra
|
||||
RUN pip install --upgrade --no-cache-dir pip \
|
||||
&& pip install --no-cache-dir \
|
||||
RUN pip install --no-cache-dir \
|
||||
tqdm boto3 requests six ipdb h5py nltk progressbar filelock tokenizers==0.7.0 \
|
||||
git+https://github.com/NVIDIA/dllogger \
|
||||
nvidia-ml-py3==7.352.0
|
||||
|
|
|
@ -18,8 +18,7 @@ FROM ${FROM_IMAGE_NAME}
|
|||
|
||||
USER root
|
||||
|
||||
RUN pip install --upgrade pip && \
|
||||
pip install --no-cache-dir --no-deps tensorflow-transform==0.24.1 tensorflow-metadata==0.14.0 pydot dill && \
|
||||
RUN pip install --no-cache-dir --no-deps tensorflow-transform==0.24.1 tensorflow-metadata==0.14.0 pydot dill && \
|
||||
pip install --no-cache-dir ipdb pynvml==8.0.4 && \
|
||||
pip install --no-cache-dir -e git+https://github.com/NVIDIA/dllogger#egg=dllogger
|
||||
|
||||
|
|
|
@ -4,6 +4,5 @@ FROM ${FROM_IMAGE_NAME}
|
|||
ADD . /workspace/unet
|
||||
WORKDIR /workspace/unet
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install git+https://github.com/NVIDIA/dllogger
|
||||
RUN pip install -r requirements.txt
|
||||
|
|
Loading…
Reference in a new issue