-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
[ao] making _is_activation_post_process private #87520
Conversation
[ao] making _is_activation_post_process private Summary: same function in observer and quantize, consolidated to a single function Test Plan: python test/test_public_bindings.py python test/test_quantization.py Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/87520
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 9c87c82: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
[ao] making _is_activation_post_process private Summary: same function in observer and quantize, consolidated to a single function Test Plan: python test/test_public_bindings.py python test/test_quantization.py Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
@HDCharles has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
[ao] making _is_activation_post_process private Summary: same function in observer and quantize, consolidated to a single function Test Plan: python test/test_public_bindings.py python test/test_quantization.py Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D40709276](https://our.internmc.facebook.com/intern/diff/D40709276) [ghstack-poisoned]
@HDCharles has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
[ao] making _is_activation_post_process private Summary: same function in observer and quantize, consolidated to a single function Test Plan: python test/test_public_bindings.py python test/test_quantization.py Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D40709276](https://our.internmc.facebook.com/intern/diff/D40709276) [ghstack-poisoned]
@HDCharles has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@@ -62,11 +62,6 @@ def get_default_custom_config_dict(): | |||
""" | |||
return _DEFAULT_CUSTOM_CONFIG_DICT | |||
|
|||
def is_activation_post_process(module): |
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.
I saw that the observer function and this different, just wanted to double check
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.
yeah, it added a few definitions that weren't captured so it will be more accurate unless people were using this as a negative test.
Summary: same function in observer and quantize, consolidated to a single function Test Plan: python test/test_public_bindings.py python test/test_quantization.py Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D40709276](https://our.internmc.facebook.com/intern/diff/D40709276) [ghstack-poisoned]
@HDCharles has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: same function in observer and quantize, consolidated to a single function Test Plan: python test/test_public_bindings.py python test/test_quantization.py Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D40709276](https://our.internmc.facebook.com/intern/diff/D40709276) [ghstack-poisoned]
Summary: same function in observer and quantize, consolidated to a single function Test Plan: python test/test_public_bindings.py python test/test_quantization.py Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D40709276](https://our.internmc.facebook.com/intern/diff/D40709276) [ghstack-poisoned]
Summary: same function in observer and quantize, consolidated to a single function Test Plan: python test/test_public_bindings.py python test/test_quantization.py Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D40709276](https://our.internmc.facebook.com/intern/diff/D40709276) [ghstack-poisoned]
@HDCharles has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: same function in observer and quantize, consolidated to a single function. Note the definitions were slightly different, I've changed the definition to be maximally inclusive so that the name of the function is more accurate Test Plan: python test/test_public_bindings.py python test/test_quantization.py Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D40709276](https://our.internmc.facebook.com/intern/diff/D40709276) [ghstack-poisoned]
Summary: same function in observer and quantize, consolidated to a single function. Note the definitions were slightly different, I've changed the definition to be maximally inclusive so that the name of the function is more accurate Test Plan: python test/test_public_bindings.py python test/test_quantization.py Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D40709276](https://our.internmc.facebook.com/intern/diff/D40709276) [ghstack-poisoned]
Summary: same function in observer and quantize, consolidated to a single function. Note the definitions were slightly different, I've changed the definition to be maximally inclusive so that the name of the function is more accurate Test Plan: python test/test_public_bindings.py python test/test_quantization.py Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D40709276](https://our.internmc.facebook.com/intern/diff/D40709276) [ghstack-poisoned]
Summary: same function in observer and quantize, consolidated to a single function. Note the definitions were slightly different, I've changed the definition to be maximally inclusive so that the name of the function is more accurate Test Plan: python test/test_public_bindings.py python test/test_quantization.py Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D40709276](https://our.internmc.facebook.com/intern/diff/D40709276) [ghstack-poisoned]
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
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="Diff reverted internally" -c="ghfirst" |
@pytorchbot successfully started a revert job. Check the current status here. |
Reverting PR 87520 failedReason: Command
Details for Dev Infra teamRaised by workflow job |
@pytorchbot revert -m="Diff reverted internally" -c="ghfirst" |
@pytorchbot successfully started a revert job. Check the current status here. |
@HDCharles your PR has been successfully reverted. |
This reverts commit 45c62a3. Reverted #87520 on behalf of https://github.com/bigfootjon due to Diff reverted internally
Summary: same function in observer and quantize, consolidated to a single function. Note the definitions were slightly different, I've changed the definition to be maximally inclusive so that the name of the function is more accurate Test Plan: python test/test_public_bindings.py python test/test_quantization.py Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D40709276](https://our.internmc.facebook.com/intern/diff/D40709276) Pull Request resolved: pytorch#87520 Approved by: https://github.com/jcaip
This reverts commit 45c62a3. Reverted pytorch#87520 on behalf of https://github.com/bigfootjon due to Diff reverted internally
Stack from ghstack (oldest at bottom):
Summary: same function in observer and quantize, consolidated to a
single function. Note the definitions were slightly different, I've
changed the definition to be maximally inclusive so that the name of the
function is more accurate
Test Plan: python test/test_public_bindings.py
python test/test_quantization.py
Reviewers:
Subscribers:
Tasks:
Tags:
Differential Revision: D40709276
cc @jerryzh168 @jianyuh @raghuramank100 @jamesr66a @vkuzo @jgong5 @Xia-Weiwen @leslie-fang-intel