-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PTQ][Torch][Native] Experimental tensor statistics migration (#2117)
### Changes * Torch Init range moved to experimental TensorCollector * Torch PTQ migrated to experimental TensorCollector * Threesigma/MAD aggregators are implemented as experimental tensor collectors for Torch/OV backends * `no_outlier_map` function refactored to not depend on shape of input tensor to make it possible to unify Torch and OV backends as they are using different shape statistics ### Reason for changes * To use all experimental reducers/aggregators (tensor collectors) in Torch/Torch PTQ backend ### Related tickets 109665 ### Tests * Tests are updated * Test register_unnamed_inputs * Test MedianAbsoluteDeviationAggregator/PrecentileAggregator/PostAggregateHook * Test mixed min max TensorCollector creation function TODO: * Confirm that new `no_outlier_map` performs as good as previous implementation
- Loading branch information
1 parent
894296e
commit eaddf18
Showing
59 changed files
with
2,328 additions
and
859 deletions.
There are no files selected for viewing
This file contains 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 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.