File tree Expand file tree Collapse file tree
PyTorch/SpeechRecognition Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ WORKDIR /workspace/jasper
2121
2222# Install requirements (do this first for better caching)
2323COPY 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
2525RUN pip install --disable-pip-version-check -U -r requirements.txt
2626
2727RUN pip install --force-reinstall --extra-index-url https://developer.download.nvidia.com/compute/redist nvidia-dali-cuda110==1.2.0
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ WORKDIR /workspace/quartznet
2121
2222# Install requirements (do this first for better caching)
2323COPY 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
2525RUN pip install --disable-pip-version-check -U -r requirements.txt
2626
2727RUN pip install --extra-index-url https://developer.download.nvidia.com/compute/redist nvidia-dali-cuda110==1.2.0
You can’t perform that action at this time.
0 commit comments