Skip to content

[release/2.4] [ROCM] Properly disable Flash Attention/Efficient Attention with environment variables#1570

Merged
pruthvistony merged 4 commits intorelease/2.4from
xinyazhang/internal-2.4-nofa
Sep 11, 2024
Merged

[release/2.4] [ROCM] Properly disable Flash Attention/Efficient Attention with environment variables#1570
pruthvistony merged 4 commits intorelease/2.4from
xinyazhang/internal-2.4-nofa

Conversation

@xinyazhang
Copy link

Now USE_FLASH_ATTENTION=0 USE_MEM_EFF_ATTENTION=0 python setup.py can compile correctly.

This is cherry-picked version of pytorch#133866

@jithunnair-amd jithunnair-amd changed the title [ROCM] Properly disable Flash Attention/Efficient Attention with environment variables [release/2.4] [ROCM] Properly disable Flash Attention/Efficient Attention with environment variables Sep 11, 2024
@pruthvistony pruthvistony merged commit f4c8ad5 into release/2.4 Sep 11, 2024
@pruthvistony pruthvistony deleted the xinyazhang/internal-2.4-nofa branch September 11, 2024 16:02
jithunnair-amd pushed a commit that referenced this pull request Mar 17, 2025
…tion with environment variables (#1570)

Now `USE_FLASH_ATTENTION=0 USE_MEM_EFF_ATTENTION=0 python setup.py` can
compile correctly.

This is cherry-picked version of
pytorch#133866
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants