Skip to content

Commit

Permalink
make gpu build work
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg committed Aug 6, 2024
1 parent 9c39b11 commit 36281f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ FROM $BASE_IMAGE
ARG BRANCH_NAME
ARG DEP_GROUPS

ENV TORCH_CUDA_ARCH_LIST="8.0 8.6 8.7 8.9 9.0"

# Check for changes in setup.py.
# If there are changes, the docker cache is invalidated and a fresh pip installation is triggered.
ADD https://raw.githubusercontent.com/mosaicml/llm-foundry/$BRANCH_NAME/setup.py setup.py
Expand Down

0 comments on commit 36281f9

Please sign in to comment.