Skip to content

Fix for Issue #684 : Locked flash-attn version to prevent ABI mismatch#686

Open
alexjstephenson wants to merge 3 commits intohuggingface:mainfrom
alexjstephenson:main
Open

Fix for Issue #684 : Locked flash-attn version to prevent ABI mismatch#686
alexjstephenson wants to merge 3 commits intohuggingface:mainfrom
alexjstephenson:main

Conversation

@alexjstephenson
Copy link
Copy Markdown

Previous code would automatically install latest flash-attn version, newer versions have a different ABI which is incompatible with torch 2.6.0, causing a MBI mismatch and binary issues. This fix proposes fixing flash-attn to a known working version to prevent future issues with dependency updates. Updates readme to explain to the user, as well as the makefile.

I compiled and ran successfully on this version.

Link to issue: #684

Updated ReadME to correct the flash-attn==2.7.4.post1 in order to prevent ABI mismatches with new flash-attn versions.
wanted to make it look nicer.
This version utilizes flash-attn==2.7.4.post1 to prevent ABI mismatches with newer commits.
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