-
Notifications
You must be signed in to change notification settings - Fork 31.7k
enable torchao quantization on CPU #36146
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 all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
936b206
enable torchao quantization on CPU
jiqing-feng 4759045
fix int4
jiqing-feng 5e51a1c
fix format
jiqing-feng 6b3c076
enable CPU torchao tests
jiqing-feng 2bf0ba2
fix cuda tests
jiqing-feng 36c6534
fix cpu tests
jiqing-feng 872c778
update tests
jiqing-feng 76badb1
fix style
jiqing-feng c964c6f
fix cuda tests
jiqing-feng 92b3ff1
Merge branch 'main' into torchao
jiqing-feng fcf3e9e
fix torchao available
jiqing-feng a871b35
fix torchao available
jiqing-feng 65b7de3
fix torchao config cannot convert to json
jiqing-feng 6847b7c
Merge branch 'main' into torchao
jiqing-feng 33da778
fix docs
jiqing-feng 8b9b6b1
Merge branch 'main' into torchao
jiqing-feng 50d48c2
Merge branch 'main' into torchao
jiqing-feng f5c2c8d
Merge branch 'main' into torchao
jiqing-feng e1bdbd7
rm to_dict to rebase
jiqing-feng a880c2c
Merge branch 'main' into torchao
MekkCyber 49015bf
limited torchao version for CPU
jiqing-feng 81897c4
Merge branch 'main' into torchao
jiqing-feng 135bbab
fix format
jiqing-feng 443b1cf
Merge branch 'main' into torchao
jiqing-feng 248e065
fix skip
jiqing-feng a71d8b9
fix format
jiqing-feng 9b3053a
Merge branch 'main' into torchao
SunMarc e2fef70
Update src/transformers/testing_utils.py
jiqing-feng 66b5751
Merge branch 'main' into torchao
jiqing-feng d356bf6
Merge branch 'main' into torchao
jiqing-feng 9d529ca
fix cpu test
jiqing-feng a633f27
fix format
jiqing-feng 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.
Uh oh!
There was an error while loading. Please reload this page.