-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[quant][pt2e] Refactor insert observer to do sharing checking in the same place #113458
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
…same place Summary: Previously it is scatter in two different places: before inserting observer and during observer, this PR moved everything before we insert observer * Next: refactor QuantizationSpec and check more fields for sharing Test Plan: CI (regression tests) Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/113458
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 23e2da8 with merge base 2a271a3 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…same place Summary: Previously it is scatter in two different places: before inserting observer and during observer, this PR moved everything before we insert observer * Next: refactor QuantizationSpec and check more fields for sharing Test Plan: CI (regression tests) Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: d515759 Pull Request resolved: #113458
…ing in the same place" Summary: Previously it is scatter in two different places: before inserting observer and during observer, this PR moved everything before we insert observer * Next: refactor QuantizationSpec and check more fields for sharing Test Plan: CI (regression tests) Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
|
||
# sharing with other users of the previous output | ||
# (arg, user) | ||
for user in arg.users: |
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 is not a refactor change, right?
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 is a refactor, we removed this logic from insert observers and added it here
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.
left a comment
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
@pytorchbot revert -m 'Sorry for reverting your change but it is failing executorch export test for llama2' -c ghfirst The error is:
Just FYI, I'm working on bring this test to OSS https://github.com/pytorch/pytorch/blob/main/.ci/pytorch/test.sh#L1014-L1016 |
@pytorchbot successfully started a revert job. Check the current status here. |
@jerryzh168 your PR has been successfully reverted. |
… in the same place (#113458)" This reverts commit 585e315. Reverted #113458 on behalf of https://github.com/huydhn due to Sorry for reverting your change but it is failing executorch export test for llama2 ([comment](#113458 (comment)))
… in the same place (#113458) Summary: Previously it is scatter in two different places: before inserting observer and during observer, this PR moved everything before we insert observer * Next: refactor QuantizationSpec and check more fields for sharing Test Plan: CI (regression tests) Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
… in the same place (#113458) Summary: Previously it is scatter in two different places: before inserting observer and during observer, this PR moved everything before we insert observer * Next: refactor QuantizationSpec and check more fields for sharing Test Plan: CI (regression tests) Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: dadc425 Pull Request resolved: #113920
this feels like an error on HtpQnnQuantizer side actually, I'll check with Shen |
…rver to do sharing checking in the same place (#113458)" Summary: Previously it is scatter in two different places: before inserting observer and during observer, this PR moved everything before we insert observer * Next: refactor QuantizationSpec and check more fields for sharing Test Plan: CI (regression tests) Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D51420029](https://our.internmc.facebook.com/intern/diff/D51420029) [ghstack-poisoned]
… in the same place (#113458) Summary: Previously it is scatter in two different places: before inserting observer and during observer, this PR moved everything before we insert observer * Next: refactor QuantizationSpec and check more fields for sharing Test Plan: CI (regression tests) Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 9888739 Pull Request resolved: #113920
…ng checking in the same place (#113458)" Summary: Previously it is scatter in two different places: before inserting observer and during observer, this PR moved everything before we insert observer * Next: refactor QuantizationSpec and check more fields for sharing Test Plan: CI (regression tests) Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D51420029](https://our.internmc.facebook.com/intern/diff/D51420029) [ghstack-poisoned]
reland PR: #113920 |
… in the same place (#113458) (#113920) Summary: Previously it is scatter in two different places: before inserting observer and during observer, this PR moved everything before we insert observer * Next: refactor QuantizationSpec and check more fields for sharing Test Plan: CI (regression tests) Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D51420029](https://our.internmc.facebook.com/intern/diff/D51420029) Pull Request resolved: #113920 Approved by: https://github.com/andrewor14
Stack from ghstack (oldest at bottom):
Summary:
Previously it is scatter in two different places: before inserting observer and during observer,
this PR moved everything before we insert observer
Test Plan:
CI (regression tests)
Reviewers:
Subscribers:
Tasks:
Tags: