Skip to content

Commit

Permalink
Bump to v0.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
tridao committed Jan 7, 2023
1 parent 6738d94 commit ce26d3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def append_nvcc_threads(nvcc_extra_args):

setup(
name="flash_attn",
version="0.2.6-1",
version="0.2.7",
packages=find_packages(
exclude=("build", "csrc", "include", "tests", "dist", "docs", "benchmarks", "flash_attn.egg-info",)
),
Expand Down
8 changes: 4 additions & 4 deletions training/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ RUN pip install transformers==4.25.1 datasets==2.8.0 pytorch-lightning==1.8.6 tr
RUN pip install git+https://github.com/mlcommons/logging.git@2.1.0

# Install FlashAttention
RUN pip install flash-attn==0.2.6.post
RUN pip install flash-attn==0.2.7

# Install CUDA extensions for cross-entropy, fused dense, layer norm
# Install CUDA extensions for cross-entropy, fused dense, layer norm
RUN git clone https://github.com/HazyResearch/flash-attention \
&& cd flash-attention && git checkout v0.2.6 \
RUN git clone https://github.com/HazyResearch/flash-attention \
&& cd flash-attention && git checkout v0.2.7 \
&& cd csrc/fused_softmax && pip install . && cd ../../ \
&& cd csrc/rotary && pip install . && cd ../../ \
&& cd csrc/xentropy && pip install . && cd ../../ \
&& cd csrc/layer_norm && pip install . && cd ../../ \
&& cd csrc/fused_dense_lib && pip install . && cd ../../ \
&& cd csrc/ft_attention && pip install . && cd ../../ \
&& cd .. && rm -rf flash-attention

0 comments on commit ce26d3d

Please # to comment.