-
Notifications
You must be signed in to change notification settings - Fork 399
Use nn_module_stack instead #3268
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3268
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 14bc2c0 with merge base 315e9b4 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@tugsbayasgalan has exported this pull request. If you are a Meta employee, you can view the originating Diff in D85959415. |
angelayi
left a comment
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 should be equivalent!
| node.target == torch.ops.aten.add_.Tensor | ||
| and node.args[0].op == "get_attr" | ||
| and node.args[1] == 1 | ||
| and torch.nn.modules.batchnorm.BatchNorm2d |
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.
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.
Done
Summary: I don't know why source_fn_stack is disappeared but i think relying on nn_module_stack is better Reviewed By: angelayi Differential Revision: D85959415
e9796e1 to
14bc2c0
Compare
Differential Revision: D85959415 Pull Request resolved: pytorch#3268

Summary: I don't know why source_fn_stack is disappeared but i think relying on nn_module_stack is better
Differential Revision: D85959415