Merge pull request #360 from chuanli11/fix/dockerfile

remove checkout v2.0.0.post1 from dockerfile
This commit is contained in:
Tri Dao 2023-07-20 19:41:24 -04:00 committed by GitHub
commit 2dd87d0609
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ RUN pip install flash-attn==2.0.0.post1
# Install CUDA extensions for cross-entropy, fused dense, layer norm
RUN git clone https://github.com/HazyResearch/flash-attention \
&& cd flash-attention && git checkout v2.0.0.post1 \
&& cd flash-attention \
&& cd csrc/fused_softmax && pip install . && cd ../../ \
&& cd csrc/rotary && pip install . && cd ../../ \
&& cd csrc/xentropy && pip install . && cd ../../ \