Skip to content

Commit

Permalink
'xformers' get TORCH_CUDA_ARCH_LIST properly
Browse files Browse the repository at this point in the history
  • Loading branch information
YanWenKun committed Mar 23, 2023
1 parent 517310b commit 4d020a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile-xformers
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ WORKDIR /root
RUN git clone --depth=1 --no-tags --recurse-submodules --shallow-submodules \
https://github.com/facebookresearch/xformers.git

ENV TORCH_CUDA_ARCH_LIST="6.1;7.5;8.0;8.6"
ARG TORCH_CUDA_ARCH_LIST="6.1;7.5;8.0;8.6"

WORKDIR /root/xformers
RUN --mount=type=cache,target=/root/.cache/pip \
Expand Down

0 comments on commit 4d020a2

Please sign in to comment.