Skip to content

Commit ff545df

Browse files
committed
add flash attention build to dockerfile
1 parent 422769a commit ff545df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ RUN echo "export PATH=\"/opt/conda/bin:/root/.cargo/bin:\$PATH\"" >> /root/.bash
3535
# Install Python dependencies (The gradual copies help with caching)
3636
WORKDIR open_diloco
3737
RUN pip install --pre torchdata --index-url https://download.pytorch.org/whl/nightly/cpu
38+
RUN pip install flash-attn>=2.5.8
3839
COPY requirements.txt requirements.txt
3940
RUN pip install --no-cache-dir -r requirements.txt
4041
COPY requirements-dev.txt requirements-dev.txt

0 commit comments

Comments
 (0)