Skip to content

Commit 82b5247

Browse files
mwawrzosnv-kkudrynski
authored andcommitted
[Jasper/PyT][QuartzNet/PyT] remove pyyaml requirement, as a newer version is inside the container
1 parent 337fae2 commit 82b5247

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

PyTorch/SpeechRecognition/Jasper/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ WORKDIR /workspace/jasper
2121

2222
# Install requirements (do this first for better caching)
2323
COPY requirements.txt .
24-
RUN conda install -y pyyaml==5.4.1
24+
RUN if [[ ! -z "$(command -v conda)" ]]; then conda install -y pyyaml==5.4.1; fi
2525
RUN pip install --disable-pip-version-check -U -r requirements.txt
2626

2727
RUN pip install --force-reinstall --extra-index-url https://developer.download.nvidia.com/compute/redist nvidia-dali-cuda110==1.2.0

PyTorch/SpeechRecognition/QuartzNet/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ WORKDIR /workspace/quartznet
2121

2222
# Install requirements (do this first for better caching)
2323
COPY requirements.txt .
24-
RUN conda install -y pyyaml==5.4.1
24+
RUN if [[ ! -z "$(command -v conda)" ]]; then conda install -y pyyaml==5.4.1; fi
2525
RUN pip install --disable-pip-version-check -U -r requirements.txt
2626

2727
RUN pip install --extra-index-url https://developer.download.nvidia.com/compute/redist nvidia-dali-cuda110==1.2.0

0 commit comments

Comments
 (0)