Merge pull request #56 from OpenAccess-AI-Collective/fix-build-flash-attn

fix cd within flash-attn
This commit is contained in:
Wing Lian
2023-05-25 11:29:47 -04:00
committed by GitHub

View File

@@ -43,11 +43,11 @@ RUN git clone https://github.com/HazyResearch/flash-attention.git && \
python3 setup.py bdist_wheel && \
cd csrc/fused_dense_lib && \
python3 setup.py bdist_wheel && \
cd csrc/xentropy && \
cd ../csrc/xentropy && \
python3 setup.py bdist_wheel && \
cd csrc/rotary && \
cd ../csrc/rotary && \
python3 setup.py bdist_wheel && \
cd csrc/layer_norm && \
cd ../csrc/layer_norm && \
python3 setup.py bdist_wheel
FROM base-builder AS deepspeed-builder