Skip to content

Commit 26d8955

Browse files
sharathtsnv-kkudrynski
authored andcommitted
[PyT/TF/TF2] remove install html2text requirement for NLP models
1 parent a64b105 commit 26d8955

File tree

8 files changed

+4
-8
lines changed

8 files changed

+4
-8
lines changed

PyTorch/LanguageModeling/BERT/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN pip install /workspace/install/python/tensorrtserver*.whl
3333
WORKDIR /workspace/bert
3434
RUN pip install --upgrade --no-cache-dir pip \
3535
&& pip install --no-cache-dir \
36-
tqdm boto3 requests six ipdb h5py html2text nltk progressbar onnxruntime \
36+
tqdm boto3 requests six ipdb h5py nltk progressbar onnxruntime \
3737
git+https://github.com/NVIDIA/dllogger wget
3838

3939
RUN apt-get install -y iputils-ping

PyTorch/LanguageModeling/BERT/requirements.txt

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ six
88
ipdb
99
#Data processing
1010
h5py
11-
html2text
1211
nltk
1312
progressbar
1413
#Others

TensorFlow/LanguageModeling/BERT/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM ${FROM_IMAGE_NAME}
44

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

1010
WORKDIR /workspace

TensorFlow/LanguageModeling/BERT/requirements.txt

-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ networkx
55
pytest
66
nltk
77
tqdm
8-
html2text
98
progressbar

TensorFlow2/LanguageModeling/BERT/Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ RUN pip3 install \
4141
tensorflow_hub \
4242
pynvml \
4343
wget \
44-
html2text \
4544
progressbar \
4645
git+https://github.com/NVIDIA/dllogger
4746

TensorFlow2/LanguageModeling/BERT/run.sub

-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ PIP_CMD="pip3 install \
6767
tensorflow_hub \
6868
pynvml \
6969
wget \
70-
html2text \
7170
progressbar \
7271
git+https://github.com/NVIDIA/dllogger"
7372

TensorFlow2/LanguageModeling/ELECTRA/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN git clone https://github.com/soskek/bookcorpus.git
2424
WORKDIR /workspace/electra
2525
RUN pip install --upgrade --no-cache-dir pip \
2626
&& pip install --no-cache-dir \
27-
tqdm boto3 requests six ipdb h5py html2text nltk progressbar filelock tokenizers==0.7.0 \
27+
tqdm boto3 requests six ipdb h5py nltk progressbar filelock tokenizers==0.7.0 \
2828
git+https://github.com/NVIDIA/dllogger \
2929
nvidia-ml-py3==7.352.0
3030

TensorFlow2/LanguageModeling/ELECTRA/scripts/docker/launch.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ docker run -it --rm \
2626
--privileged \
2727
-e LD_LIBRARY_PATH='/workspace/install/lib/' \
2828
-v $PWD:/workspace/electra \
29-
electra $CMD
29+
electra $CMD

0 commit comments

Comments
 (0)