Skip to content

Commit

Permalink
add fa3 compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Jul 12, 2024
1 parent ba5962e commit 17848b4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker/rdma/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,13 @@ RUN cd /tmp && \

RUN pip3 install --no-cache-dir tokenizers lmdb biopython ml-collections timeout-decorator urllib3 tree dm-tree && rm -rf ~/.cache/pip

RUN MAX_JOBS=1 pip3 install -U 'flash-attn<2.5.0' --no-build-isolation --no-cache-dir
RUN cd /tmp && \
git clone https://github.com/Dao-AILab/flash-attention.git && \
cd flash-attention && \
python setup.py install && \
cd hopper && \
python setup.py install && \
rm -rf /tmp/* && rm -rf ~/.cache/pip

RUN ldconfig && \
apt-get clean && \
Expand Down

0 comments on commit 17848b4

Please sign in to comment.