-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[quant][graphmode] Add tests for script models got from tracing and fix issues #30210
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
Conversation
Summary: att Test Plan: python test/test_quantization.py Reviewers: pt1quant Subscribers: Tasks: Tags: [ghstack-poisoned]
…acing" Summary: att Test Plan: python test/test_quantization.py Reviewers: pt1quant Subscribers: Tasks: Tags: [ghstack-poisoned]
…acing" Summary: att Test Plan: python test/test_quantization.py Reviewers: pt1quant Subscribers: Tasks: Tags: [ghstack-poisoned]
…acing and fix the issues" Summary: Changes to make tracing work 0. aten::_convolution(landed by Lingyi) 1. Added ConstantPooling for traced graph to merge redundant constant nodes 2. Added FuseLinear to fuse exploded linear function into `aten::linear` 3. Refactored the code to identify weight and bias 3. Added weight/bias identification for aten::linear Test Plan: python test/test_quantization.py Reviewers: pt1quant Subscribers: Tasks: Tags: [ghstack-poisoned]
…acing and fix the issues" Summary: Changes to make tracing work 0. aten::_convolution(landed by Lingyi) 1. Added ConstantPooling for traced graph to merge redundant constant nodes 2. Added FuseLinear to fuse exploded linear function into `aten::linear` 3. Refactored the code to identify weight and bias 3. Added weight/bias identification for aten::linear Test Plan: python test/test_quantization.py Reviewers: pt1quant Subscribers: Tasks: Tags: [ghstack-poisoned]
…acing and fix the issues" Summary: Changes to make tracing work 0. aten::_convolution(landed by Lingyi) 1. Added ConstantPooling for traced graph to merge redundant constant nodes 2. Added FuseLinear to fuse exploded linear function into `aten::linear` 3. Refactored the code to identify weight and bias 3. Added weight/bias identification for aten::linear Test Plan: python test/test_quantization.py Reviewers: pt1quant Subscribers: Tasks: Tags: [ghstack-poisoned]
…acing and fix issues" Summary: Changes to make tracing work 0. aten::_convolution(landed by Lingyi) 1. Added ConstantPooling for traced graph to merge redundant constant nodes 2. Added FuseLinear to fuse exploded linear function into `aten::linear` 3. Refactored the code to identify weight and bias 4. Added weight/bias identification for aten::linear Test Plan: python test/test_quantization.py Reviewers: pt1quant Subscribers: Tasks: Tags: [ghstack-poisoned]
…acing and fix issues" Summary: Changes to make quantizing traced model work: 0. aten::_convolution(landed by Lingyi) 1. Added ConstantPooling for traced graph to merge redundant constant nodes 2. Added FuseLinear to fuse exploded linear function into `aten::linear` 3. Refactored the code to identify weight and bias 4. Added weight/bias identification for aten::linear Test Plan: python test/test_quantization.py Reviewers: pt1quant Subscribers: Tasks: Tags: [ghstack-poisoned]
…acing and fix issues" Summary: Changes to make quantizing traced model work: 0. aten::_convolution(landed by Lingyi) 1. Added ConstantPooling for traced graph to merge redundant constant nodes 2. Added FuseLinear to fuse exploded linear function into `aten::linear` 3. Refactored the code to identify weight and bias 4. Added weight/bias identification for aten::linear Test Plan: python test/test_quantization.py Reviewers: pt1quant Subscribers: Tasks: Tags: [ghstack-poisoned]
…acing and fix issues" Summary: Changes to make quantizing traced model work: 0. aten::_convolution(landed by Lingyi) 1. Added ConstantPooling for traced graph to merge redundant constant nodes 2. Added FuseLinear to fuse exploded linear function into `aten::linear` 3. Refactored the code to identify weight and bias 4. Added weight/bias identification for aten::linear Test Plan: python test/test_quantization.py Reviewers: pt1quant Subscribers: Tasks: Tags: [ghstack-poisoned]
…acing and fix issues" Summary: Changes to make quantizing traced model work: 0. aten::_convolution(landed by Lingyi) 1. Added ConstantPooling for traced graph to merge redundant constant nodes 2. Added FuseLinear to fuse exploded linear function into `aten::linear` 3. Refactored the code to identify weight and bias 4. Added weight/bias identification for aten::linear Test Plan: python test/test_quantization.py Reviewers: pt1quant Subscribers: Tasks: Tags: [ghstack-poisoned]
…ix issues Summary: Changes to make quantizing traced model work: 0. aten::_convolution(landed by Lingyi) 1. Added ConstantPooling for traced graph to merge redundant constant nodes 2. Added FuseLinear to fuse exploded linear function into `aten::linear` 3. Refactored the code to identify weight and bias 4. Added weight/bias identification for aten::linear Test Plan: python test/test_quantization.py Reviewers: pt1quant Subscribers: Tasks: Tags: ghstack-source-id: b40d002 Pull Request resolved: #30210
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR has too many independent changes piled in and is hard to review because of that. Please split out those changes into individual PRs (e.g.: 1) renaming stuff in tests without changing logic and formatting stuff, 2) factoring out isAtenFuncNthArg, 3) invoking more passes in insertObservers, 4)... )
deprecated by stack: #30473 |
Stack from ghstack:
Summary:
Changes to make quantizing traced model work:
aten::linear
Test Plan:
python test/test_quantization.py
Reviewers:
pt1quant
Subscribers:
Tasks:
Tags: