Skip to content

Commit 6d673cd

Browse files
committed
Bump to v2.2.0
1 parent 8e893f0 commit 6d673cd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

flash_attn/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.1.2.post3"
1+
__version__ = "2.2.0"
22

33
from flash_attn.flash_attn_interface import (
44
flash_attn_func,

training/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ RUN pip install transformers==4.25.1 datasets==2.8.0 pytorch-lightning==1.8.6 tr
8585
RUN pip install git+https://github.com/mlcommons/[email protected]
8686

8787
# Install FlashAttention
88-
RUN pip install flash-attn==2.1.2.post3
88+
RUN pip install flash-attn==2.2.0
8989

9090
# Install CUDA extensions for cross-entropy, fused dense, layer norm
9191
RUN git clone https://github.com/HazyResearch/flash-attention \
92-
&& cd flash-attention && git checkout v2.1.2.post3 \
92+
&& cd flash-attention && git checkout v2.2.0 \
9393
&& cd csrc/fused_softmax && pip install . && cd ../../ \
9494
&& cd csrc/rotary && pip install . && cd ../../ \
9595
&& cd csrc/xentropy && pip install . && cd ../../ \

0 commit comments

Comments
 (0)