Skip to content

Commit

Permalink
commit change
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuck Tang committed May 3, 2024
1 parent 766da09 commit 9f41160
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ ADD https://raw.githubusercontent.com/mosaicml/llm-foundry/$BRANCH_NAME/setup.py
RUN rm setup.py

# Install and uninstall foundry to cache foundry requirements
RUN MAX_JOBS=1 pip install --verbose --no-cache-dir git+https://github.com/NVIDIA/TransformerEngine.git@stable
RUN MAX_JOBS=4 pip install --verbose --no-cache-dir git+https://github.com/NVIDIA/TransformerEngine.git@stable
RUN git clone -b $BRANCH_NAME https://github.com/mosaicml/llm-foundry.git
RUN MAX_JOBS=1 pip install --verbose --no-cache-dir "./llm-foundry${DEP_GROUPS}"
RUN MAX_JOBS=4 pip install --verbose --no-cache-dir "./llm-foundry${DEP_GROUPS}"
RUN pip uninstall -y llm-foundry
RUN rm -rf llm-foundry

0 comments on commit 9f41160

Please sign in to comment.