Skip to content

Commit 36522e7

Browse files
authored
Merge pull request #27 from coreweave/es/flash-attn-rw-bind
fix(torch-extras): Use `rw` bind mount when building `flash-attn`
2 parents 949759a + 83b7127 commit 36522e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

torch-extras/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ WORKDIR /wheels
104104
FROM builder-base as flash-attn-builder
105105
ARG FLASH_ATTN_VERSION
106106

107-
RUN --mount=type=bind,from=flash-attn-downloader,source=/git/flash-attention,target=flash-attention/ \
107+
RUN --mount=type=bind,from=flash-attn-downloader,source=/git/flash-attention,target=flash-attention/,rw \
108108
python3 -m pip install -U --no-cache-dir \
109109
packaging setuptools wheel pip && \
110110
export CC=$(realpath -e ./compiler) && \

0 commit comments

Comments
 (0)