Skip to content

Fix incorrect validation for attention implementations#371

Open
sfc-gh-sbekman wants to merge 3 commits into
mainfrom
sfc-gh-sbekman-patch-6
Open

Fix incorrect validation for attention implementations#371
sfc-gh-sbekman wants to merge 3 commits into
mainfrom
sfc-gh-sbekman-patch-6

Conversation

@sfc-gh-sbekman
Copy link
Copy Markdown
Collaborator

This PR fixes an incorrect attention implementation validation to handle specific cases for 'flash_attention_2' and 'flash_attention_3'. Updated error messages for clarity.

Currently even if FA3 is installed, but not FA2, it'll fail to load.

Refactor attention implementation validation to handle specific cases for 'flash_attention_2' and 'flash_attention_3'. Updated error messages for clarity.

Currently even if FA3 is installed, but not FA2, it'll fail to load.
Signed-off-by: Stas Bekman <stas.bekman@snowflake.com>
@sfc-gh-sbekman sfc-gh-sbekman enabled auto-merge (squash) April 23, 2026 20:06
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.

1 participant