-
Notifications
You must be signed in to change notification settings - Fork 31.1k
[Mistral] Add Flash Attention-2 support for mistral
#26464
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
younesbelkada
merged 28 commits into
huggingface:main
from
younesbelkada:add-mistral-fa-2
Oct 3, 2023
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
5d9bc48
add FA-2 support for mistral
younesbelkada 0983d88
fixup
younesbelkada b8c9198
add sliding windows
younesbelkada d740849
Merge branch 'add-mistral-fa-2' of https://github.com/younesbelkada/t…
younesbelkada bd58ca7
fixing few nits
younesbelkada 43b0289
v1 slicing cache - logits do not match
younesbelkada ed2616f
add comment
younesbelkada 7cafc2d
fix bugs
younesbelkada 2b8c7b4
more mem efficient
younesbelkada 4a3387d
add warning once
younesbelkada 885b601
add warning once
younesbelkada 172d99a
oops
younesbelkada 253b383
fixup
younesbelkada e4d0fb7
more comments
younesbelkada a245722
copy
younesbelkada 3079896
Merge branch 'add-mistral-fa-2' of https://github.com/younesbelkada/t…
younesbelkada e71c50d
add safety checker
younesbelkada a21d903
Merge branch 'add-mistral-fa-2' of https://github.com/younesbelkada/t…
younesbelkada 5d1f589
fixup
younesbelkada b478e04
Update src/transformers/models/mistral/modeling_mistral.py
younesbelkada 2fe2f49
copied from
younesbelkada 25789d1
up
younesbelkada 05ec7f4
raise when padding side is right
younesbelkada 5a79195
Merge branch 'add-mistral-fa-2' of https://github.com/younesbelkada/t…
younesbelkada f9a69bc
fixup
younesbelkada 6a48dd3
add doc + few minor changes
younesbelkada 76763c7
Merge branch 'add-mistral-fa-2' of https://github.com/younesbelkada/t…
younesbelkada c286946
fixup
younesbelkada 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
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.
Uh oh!
There was an error while loading. Please reload this page.