Skip to content

Commit

Permalink
Update conda instead of ignoring installed
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Enestad <fredrik@enestad.com>
  • Loading branch information
fredr committed May 24, 2023
1 parent 698804d commit d8676fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile.torch
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ RUN git submodule update --init --recursive && \
# RUN pip uninstall -y apex && \
# pip install git+https://github.com/NVIDIA/apex --global-option="--cpp_ext" --global-option="--cuda_ext" --global-option="--fast_layer_norm" && \
# pip install 3rdparty/NeMo[nlp]
RUN conda update --all
RUN pip install --upgrade --no-cache-dir pip \
&& pip install --no-cache-dir 3rdparty/NeMo[nlp] --ignore-installed
&& pip install --no-cache-dir 3rdparty/NeMo[nlp]

ENV NCCL_LAUNCH_MODE=GROUP
ARG SM=80
Expand Down

0 comments on commit d8676fd

Please sign in to comment.