- Notifications
You must be signed in to change notification settings - Fork386
enable smoothquant for int8 static tensor#3468
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
jcaip wants to merge40 commits intomainChoose a base branch fromjcaip/enable-smoothquant
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
+84 −30
Open
Changes from1 commit
Commits
Show all changes
40 commits Select commitHold shift + click to select a range
48cdb61 Int8Tensor migration
jcaip0b73aed ruff fixes
jcaip1e49945 add init
jcaip669b6ee fix ruff again
jcaip9071526 update
jcaip1539e0f wip
jcaipd9a2b1b Merge branch 'main' into jcaip/int8-tensor
jcaip673f228 undo update tests
jcaip739fd64 fix ruff
jcaip750db1a fix varname
jcaip9410488 fix typing
jcaip45a3a76 add tests
jcaip4e2f09c fix dtype
jcaipdd80cca fix ci
jcaip7f73062 address granularity cr
jcaipac6a2b6 update _choose_quant_func_and_quantize_tensor
jcaipf28df4a make block size required attribute
jcaip328585e made dtype required as well
jcaipce4d568 address nits
jcaipa665d45 skip per tensor weight only test for now
jcaip0338016 add static quant
jcaipee39691 add static quant
jcaip9eb0aa9 update
jcaipd4a1514 static quant working eager + compile
jcaip3cdea56 remove file
jcaipfa9022d added asserts
jcaip8ce5cde undo smoothquant change
jcaip6f64121 fix return
jcaip8ae921d Merge branch 'main' into jcaip/static-quant-rebased
jcaip5b9e243 got smoothquant + int8 static working
jcaip7a0e38f generalized smoothquat code
jcaip3d18edf free tests
jcaip9e07f8b fix static scale check
jcaip4274e02 update
jcaipb5309eb address cr feedback
jcaipa732fee Merge branch 'jcaip/static-quant-rebased' into jcaip/enable-smoothquant
jcaip0c23589 Merge branch 'main' into jcaip/enable-smoothquant
jcaip0872986 update
jcaip049830f fix ruff
jcaip2586ab6 fix varname
jcaipFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
fix ci
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitdd80cca3fc7f95b453ebe148b688d15b5e844877
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
33 changes: 13 additions & 20 deletionstest/quantization/quantize_/workflows/int8/test_int8_tensor.py
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
2 changes: 1 addition & 1 deletiontorchao/quantization/quant_api.py
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
14 changes: 9 additions & 5 deletionstorchao/quantization/quantize_/workflows/int8/int8_tensor.py
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.
Uh oh!
There was an error while loading.Please reload this page.
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.