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 14, 2024
1 parent 4c0959c commit 315446b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
strategy:
matrix:
include:
- name: "2.1.0_cu121_flash2"
base_image: mosaicml/pytorch:2.1.0_cu121-python3.10-ubuntu20.04
- name: "2.3.0_cu121_flash2"
base_image: mosaicml/pytorch:2.3.0_cu121-python3.11-ubuntu20.04
dep_groups: "[gpu-flash2]"
- name: "2.1.0_cu121_flash2_aws"
base_image: mosaicml/pytorch:2.1.0_cu121-python3.10-ubuntu20.04-aws
- name: "2.3.0_cu121_flash2_aws"
base_image: mosaicml/pytorch:2.3.0_cu121-python3.11-ubuntu20.04-aws
dep_groups: "[gpu-flash2]"
steps:
- name: Maximize Build Space on Worker
Expand Down
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ RUN rm setup.py

# Install and uninstall foundry to cache foundry requirements
RUN pip install --verbose --no-cache-dir "./llm-foundry${DEP_GROUPS}"
RUN pip install --verbose --no-cache-dir git+https://github.com/NVIDIA/TransformerEngine.git@main
RUN pip uninstall -y llm-foundry
RUN pip uninstall -y transformer-engine
RUN rm -rf llm-foundry
RUN git clone --branch stable --recursive https://github.com/NVIDIA/TransformerEngine.git
RUN cd TransformerEngine && git submodule update --init --recursive
RUN export NVTE_FRAMEWORK=pytorch && MAX_JOBS=1 pip install .
RUN cd ..

0 comments on commit 315446b

Please sign in to comment.