-
Notifications
You must be signed in to change notification settings - Fork 30.9k
Remove graph breaks for torch.compile() in flash_attention_forward when Lllama Model is padding free tuned #33932
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
Changes from 25 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
d541997
fix: fixes for graph breaks
Abhishek-TAMU 35b2aa6
fix: formatting
Abhishek-TAMU 5cefb84
fix: import error
Abhishek-TAMU aa7b014
fix: Add Fa2Kwargs
Abhishek-TAMU c42deaa
Merge branch 'main' into compile_llama
Abhishek-TAMU 926481b
fix: PR Changes
Abhishek-TAMU 85f1330
Merge branch 'compile_llama' of https://github.com/Abhishek-TAMU/tran…
Abhishek-TAMU 01fb377
Merge branch 'main' into compile_llama
Abhishek-TAMU 5ec657f
Merge branch 'main' into compile_llama
Abhishek-TAMU 20a4dd6
PR changes
Abhishek-TAMU 045ef16
PR changes
Abhishek-TAMU d2796f6
PR changes
Abhishek-TAMU 39d2868
PR changes
Abhishek-TAMU 83747b5
Revert "PR changes"
Abhishek-TAMU b642d45
PR changes
Abhishek-TAMU d760818
Merge branch 'huggingface:main' into compile_llama
Abhishek-TAMU d03e673
fix: FlashAttentionKwarg
Abhishek-TAMU 91f6fa1
Merge branch 'compile_llama' of https://github.com/Abhishek-TAMU/tran…
Abhishek-TAMU 80e0d5f
fix: FlashAttentionKwarg
Abhishek-TAMU ca42b8b
PR Changes
Abhishek-TAMU b8d2568
PR Changes
Abhishek-TAMU ae11c96
PR Changes
Abhishek-TAMU 76c51ca
PR Changes
Abhishek-TAMU 2a69f6c
Merge branch 'huggingface:main' into compile_llama
Abhishek-TAMU 77c7a3d
PR Changes
Abhishek-TAMU 5333e89
Merge remote-tracking branch 'huggingface/main' into compile_llama
Abhishek-TAMU 391715a
addition of documentation
Abhishek-TAMU f23c955
change in _flash_attention_forward
Abhishek-TAMU ba54841
Merge remote-tracking branch 'huggingface/main' into compile_llama
Abhishek-TAMU 67c7828
make fix-copies
Abhishek-TAMU 8d2ec29
revert make fix-copies
Abhishek-TAMU 480c78d
Merge remote-tracking branch 'huggingface/main' into compile_llama
Abhishek-TAMU 5a903da
fix copies
ArthurZucker 05f9a80
style
ArthurZucker 6843a9c
Merge branch 'main' of github.com:huggingface/transformers into compi…
ArthurZucker a6e2601
loss kwargs typing
ArthurZucker dd0bd9a
Merge branch 'main' of github.com:huggingface/transformers into compi…
ArthurZucker cb08b63
style and pull latest changes
ArthurZucker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice catch this was breaking compile on my side as well