-
Notifications
You must be signed in to change notification settings - Fork 30.5k
Add torch.compile for Mistral #30642
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
ArthurZucker
merged 31 commits into
huggingface:main
from
zhenglongjiepheonix:longjie/add_torch_compile_for_mistral
May 20, 2024
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
dcac131
first version
zhenglongjiepheonix 9afc73b
fix sliding window
zhenglongjiepheonix 3fa9285
fix style
zhenglongjiepheonix 5246ced
add sliding window cache
zhenglongjiepheonix 6367154
fix style
zhenglongjiepheonix c74b329
address comments
zhenglongjiepheonix 1cd711c
fix test
zhenglongjiepheonix 06b64ca
fix style
zhenglongjiepheonix d46c601
move sliding window check inside cache init
zhenglongjiepheonix ec8f338
revert changes on irrelevant files & add comment on SlidingWindowCache
zhenglongjiepheonix a51b44f
address comments & fix style
zhenglongjiepheonix c1fca1a
update causal mask
zhenglongjiepheonix ecdcff1
Merge remote-tracking branch 'upstream/main' into longjie/add_torch_c…
zhenglongjiepheonix 233cb3b
[run-slow] mistral
zhenglongjiepheonix 562a9cf
Merge remote-tracking branch 'upstream/main' into longjie/add_torch_c…
zhenglongjiepheonix 40e0553
[run-slow] mistral
zhenglongjiepheonix 47c48d4
Merge remote-tracking branch 'upstream/main' into longjie/add_torch_c…
zhenglongjiepheonix cdb7a57
[run-slow] mistral
zhenglongjiepheonix fcbd9ad
[run-slow] mistral
zhenglongjiepheonix 902fdbc
fix conflict
zhenglongjiepheonix 7e1537e
Merge remote-tracking branch 'upstream/main' into longjie/add_torch_c…
zhenglongjiepheonix c065bbe
Merge remote-tracking branch 'upstream/main' into longjie/add_torch_c…
zhenglongjiepheonix 691b201
[run-slow] mistral
zhenglongjiepheonix 6a9ec8c
[run-slow] llama
zhenglongjiepheonix 02cdb1d
[run-slow] mistral
zhenglongjiepheonix 9779556
[run-slow] mistral
zhenglongjiepheonix b78e2a0
[run-slow] mistral
zhenglongjiepheonix c9de82d
fix conflict
zhenglongjiepheonix 93e14ba
revert CI from a10 to t4
zhenglongjiepheonix ee8f9fb
wrap up
zhenglongjiepheonix 82b76af
fix conflict
zhenglongjiepheonix 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
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
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.