8000 [release/2.4] [ROCM] Properly disable Flash Attention/Efficient Attention with environment variables by xinyazhang · Pull Request #1570 · ROCm/pytorch · GitHub
[go: up one dir, main page]

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 11, 2024

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
1 check failed
@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
0