-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[quant] Expose register activation post process hook function to user #42342
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: Test Plan: Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 3dccbc0 (more details on the Dr. CI page): ✅ None of the CI failures appear to be your fault 💚
❄️ 8 failures tentatively classified as flakybut reruns have not yet been triggered to confirm:
|
| # Returning nothing is Ok, Module._call_impl will intrepret this | ||
| # as the pre_hook making no changes to the input, as desired | ||
|
|
||
| def register_activation_post_process_hook(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.
Can you explain on why this refactoring is needed?
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.
We need to use this function in module definition, see next PR
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.
Sorry, didnt see that before, its clear now.
…ion to user" Summary: This is used in #42343 Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D22856711](https://our.internmc.facebook.com/intern/diff/D22856711) [ghstack-poisoned]
|
This pull request has been merged in c3236b6. |
Stack from ghstack:
Summary:
This is used in #42343
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
Differential Revision: D22856711