[quant][graphmode] Skip quantizing input and output in matched module#32814
[quant][graphmode] Skip quantizing input and output in matched module#32814jerryzh168 wants to merge 19 commits intogh/jerryzh168/204/basefrom
Conversation
|
description needs to be updated |
💊 CircleCI build failures summary and remediationsAs of commit 5251af4 (more details on the Dr. CI page): ✅ None of the build failures appear to be your fault 💚
❄️ 4 tentatively flaky failures4 failures tentatively classified as flaky but have not launched reruns to confirm:
|
…ched module" Summary: We skip quantization for the intermediate values for patterns like `Conv - ReLU`, but currently we didn't skip quantizing the input/output of the graphs of matched modules, since we now changed the way we add observers, this also needs to be updated. Test Plan: python test/test_jit.py -- 'TestJit.test_insert_observers_skip_values' Reviewers: mvz Subscribers: Tasks: Tags: [ghstack-poisoned]
…ched module" Summary: We skip quantization for the intermediate values for patterns like `Conv - ReLU`, but currently we didn't skip quantizing the input/output of the graphs of matched modules, since we now changed the way we add observers, this also needs to be updated. Test Plan: python test/test_jit.py -- 'TestJit.test_insert_observers_skip_values' Reviewers: mvz Subscribers: Tasks: Tags: [ghstack-poisoned]
…ched module" Summary: We skip quantization for the intermediate values for patterns like `Conv - ReLU`, but currently we didn't skip quantizing the input/output of the graphs of matched modules, since we now changed the way we add observers, this also needs to be updated. Test Plan: python test/test_jit.py -- 'TestJit.test_insert_observers_skip_values' Reviewers: mvz Subscribers: Tasks: Tags: [ghstack-poisoned]
…ched module" Summary: We skip quantization for the intermediate values for patterns like `Conv - ReLU`, but currently we didn't skip quantizing the input/output of the graphs of matched modules, since we now changed the way we add observers, this also needs to be updated. Test Plan: python test/test_jit.py -- 'TestJit.test_insert_observers_skip_values' Reviewers: mvz Subscribers: Tasks: Tags: [ghstack-poisoned]
…ched module" Summary: We skip quantization for the intermediate values for patterns like `Conv - ReLU`, but currently we didn't skip quantizing the input/output of the graphs of matched modules, since we now changed the way we add observers, this also needs to be updated. Test Plan: python test/test_jit.py -- 'TestJit.test_insert_observers_skip_values' Reviewers: mvz Subscribers: Tasks: Tags: [ghstack-poisoned]
…ched module" Summary: We skip quantization for the intermediate values for patterns like `Conv - ReLU`, but currently we didn't skip quantizing the input/output of the graphs of matched modules, since we now changed the way we add observers, this also needs to be updated. Test Plan: python test/test_jit.py -- 'TestJit.test_insert_observers_skip_values' Reviewers: mvz Subscribers: Tasks: Tags: [ghstack-poisoned]
…ched module" Summary: We skip quantization for the intermediate values for patterns like `Conv - ReLU`, but currently we didn't skip quantizing the input/output of the graphs of matched modules, since we now changed the way we add observers, this also needs to be updated. Test Plan: python test/test_jit.py -- 'TestJit.test_insert_observers_skip_values' Reviewers: mvz Subscribers: Tasks: Tags: Differential Revision: [D20208785](https://our.internmc.facebook.com/intern/diff/D20208785) [ghstack-poisoned]
…ched module" Summary: We skip quantization for the intermediate values for patterns like `Conv - ReLU`, but currently we didn't skip quantizing the input/output of the graphs of matched modules, since we now changed the way we add observers, this also needs to be updated. Test Plan: python test/test_jit.py -- 'TestJit.test_insert_observers_skip_values' Reviewers: mvz Subscribers: Tasks: Tags: Differential Revision: [D20208785](https://our.internmc.facebook.com/intern/diff/D20208785) [ghstack-poisoned]
…ched module" Summary: We skip quantization for the intermediate values for patterns like `Conv - ReLU`, but currently we didn't skip quantizing the input/output of the graphs of matched modules, since we now changed the way we add observers, this also needs to be updated. Test Plan: python test/test_jit.py -- 'TestJit.test_insert_observers_skip_values' Reviewers: mvz Subscribers: Tasks: Tags: Differential Revision: [D20208785](https://our.internmc.facebook.com/intern/diff/D20208785) [ghstack-poisoned]
|
This pull request has been merged in e5bbd23. |
|
@jerryzh168 do you think this might be related to the master CI failure: https://app.circleci.com/jobs/github/pytorch/pytorch/4684269 ? This PR stacked with my PR #34055 so it's not obvious which one is the cause, but mine shouldn't affect test_jit :) cc: @mrshenli |
|
This PR is not changing jit and |
…pytorch#32814) Summary: Pull Request resolved: pytorch#32814 We skip quantization for the intermediate values for patterns like `Conv - ReLU`, but currently we didn't skip quantizing the input/output of the graphs of matched modules, since we now changed the way we add observers, this also needs to be updated. Test Plan: python test/test_jit.py -- 'TestJit.test_insert_observers_skip_values' Imported from OSS Differential Revision: D20208785 fbshipit-source-id: ce30f2c4c8ce737500d0b41357c80ec8b33aecf9
…pytorch#32814) Summary: Pull Request resolved: pytorch#32814 We skip quantization for the intermediate values for patterns like `Conv - ReLU`, but currently we didn't skip quantizing the input/output of the graphs of matched modules, since we now changed the way we add observers, this also needs to be updated. Test Plan: python test/test_jit.py -- 'TestJit.test_insert_observers_skip_values' Imported from OSS Differential Revision: D20208785 fbshipit-source-id: ce30f2c4c8ce737500d0b41357c80ec8b33aecf9
Stack from ghstack:
Summary:
We skip quantization for the intermediate values for patterns like
Conv - ReLU,but currently we didn't skip quantizing the input/output of the graphs of matched modules,
since we now changed the way we add observers, this also needs to be updated.
Test Plan:
python test/test_jit.py -- 'TestJit.test_insert_observers_skip_values'
Reviewers:
mvz
Subscribers:
Tasks:
Tags:
Differential Revision: D20208785