[pt1][quant] Add dequantize_linear for JIT pass#20107
Closed
jerryzh168 wants to merge 47 commits intomasterfrom
Closed
[pt1][quant] Add dequantize_linear for JIT pass#20107jerryzh168 wants to merge 47 commits intomasterfrom
jerryzh168 wants to merge 47 commits intomasterfrom
Conversation
Differential Revision: D15094174 Differential Version: 80838655
Differential Revision: D15094174 Differential Version: 80839141
Differential Revision: D15094174 Differential Version: 80909406
Differential Revision: D15094174 Differential Version: 80918409
Differential Revision: D15137838 Differential Version: 80919404
Differential Revision: D15137838 Differential Version: 80940601
Differential Revision: D15094174 Differential Version: 80977784
Differential Revision: D15094174 Differential Version: 80996728
Differential Revision: D15137838 Differential Version: 80996800
Differential Revision: D15150715 Differential Version: 80996764
Differential Revision: D15094174 Differential Version: 81007920
Differential Revision: D15094174 Differential Version: 81099685
Differential Revision: D15137838 Differential Version: 81109398
Differential Revision: D15150715 Differential Version: 81113084
Differential Revision: D15202187 Differential Version: 81167463
This was referenced May 3, 2019
Differential Revision: D15094174 Differential Version: 81173037
Differential Revision: D15094174 Differential Version: 81239113
Differential Revision: D15094174 Differential Version: 81253515
Differential Revision: D15094174 Differential Version: 81263921
Differential Revision: D15202187 Differential Version: 81281334
Differential Revision: D15094174 Differential Version: 81319070
Differential Revision: D15094174 Differential Version: 81328044
Differential Revision: D15094174 Differential Version: 81380836
Differential Revision: D15094174 Differential Version: 81411153
Differential Revision: D15137838 Differential Version: 81699511
Differential Revision: D15150715 Differential Version: 81699751
nishantpdce
reviewed
May 15, 2019
Contributor
|
Please run clang-format on the .h/.cpp files |
Differential Revision: D15202187 Differential Version: 81740423
Differential Revision: D15137838 Differential Version: 82009220
Differential Revision: D15150715 Differential Version: 82024560
Differential Revision: D15202187 Differential Version: 82030992
Differential Revision: D15150715 Differential Version: 82077846
Differential Revision: D15150715 Differential Version: 82142681
Differential Revision: D15202187 Differential Version: 82189466
This was referenced May 17, 2019
Differential Revision: D15202187 Differential Version: 82409133
Differential Revision: D15202187 Differential Version: 82456360
Differential Revision: D15202187 Differential Version: 82477545
Collaborator
|
dumb question - why do you need this if you have as_quantized_tensor in the following diff? also, how is it going to be used in the JIT pass, just curious? |
Contributor
Author
|
@dzhulgakov in JIT pass, we want explicit scale, zero_point argument in dequantize so that we don't need to traverse back to find these argument in quantize_linear. We don't expect this function to be used by user, this is for JIT pass only. |
Differential Revision: D15202187 Differential Version: 82551619
Contributor
|
This pull request has been merged in cca923c. |
zdevito
pushed a commit
to zdevito/ATen
that referenced
this pull request
May 21, 2019
Summary: Pull Request resolved: pytorch/pytorch#20107 att Reviewed By: nishantpdce Differential Revision: D15202187 fbshipit-source-id: 7d6274a67fcca695c0425587f35046fecbc2ccdc
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Stack:
:white_circle: #20656 [pt1][quant] int_repr for different quantized types 💛
:black_circle: #20107 [pt1][quant] Add dequantize_linear for JIT pass 💚
att
Differential Revision: D15202187