-
Notifications
You must be signed in to change notification settings - Fork 25.7k
debug handler maintain through decomposition #141612
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
Add checks in the ao numberic debugger to guard the debug handle consistency between aten op decomposition Differential Revision: [D66517480](https://our.internmc.facebook.com/intern/diff/D66517480/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/141612
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 639e389 with merge base 47a571e ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D66517480 |
Add checks in the ao numberic debugger to guard the debug handle consistency between aten op decomposition Differential Revision: [D66517480](https://our.internmc.facebook.com/intern/diff/D66517480/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D66517480 |
#suppress-bc-linter |
Add checks in the ao numberic debugger to guard the debug handle consistency between aten op decomposition Differential Revision: [D66517480](https://our.internmc.facebook.com/intern/diff/D66517480/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D66517480 |
Add checks in the ao numberic debugger to guard the debug handle consistency between aten op decomposition Differential Revision: [D66517480](https://our.internmc.facebook.com/intern/diff/D66517480/) [ghstack-poisoned]
Pull Request resolved: #141612 Add checks in the ao numberic debugger to guard the debug handle consistency during aten op decomposition ghstack-source-id: 255582376 Differential Revision: [D66517480](https://our.internmc.facebook.com/intern/diff/D66517480/)
This pull request was exported from Phabricator. Differential Revision: D66517480 |
Add checks in the ao numberic debugger to guard the debug handle consistency between aten op decomposition Differential Revision: [D66517480](https://our.internmc.facebook.com/intern/diff/D66517480/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D66517480 |
Add checks in the ao numberic debugger to guard the debug handle consistency between aten op decomposition Differential Revision: [D66517480](https://our.internmc.facebook.com/intern/diff/D66517480/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D66517480 |
"node_arg_is_weight", | ||
"return_arg_list", | ||
# torch.ao.quantization.pt2e.graph_utils | ||
"bfs_trace_with_node_process", |
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.
Adding new entries in this file is not ok.
Please make sure that all the new public APIs that you add are properly documented and show up on the website.
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.
Thanks for the feedback. Any example I can use for documentation? I noticed that all public APIs under torch.ao.quantization.pt2e.graph_utils
are in this file and (looks like) there's not any doc for graph_utils
.
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.
If allowed, we can first add bfs_trace_with_node_process
here, and have another PR for all doc stuff under graph_utils
.
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.
graph_utils shouldn't be public API, I'd recommend to make this private (add _
)
Add checks in the ao numberic debugger to guard the debug handle consistency between aten op decomposition Differential Revision: [D66517480](https://our.internmc.facebook.com/intern/diff/D66517480/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D66517480 |
Pull Request resolved: #141612 Add checks in the ao numberic debugger to guard the debug handle consistency during aten op decomposition ghstack-source-id: 257550559 Differential Revision: [D66517480](https://our.internmc.facebook.com/intern/diff/D66517480/)
Add checks in the ao numberic debugger to guard the debug handle consistency between aten op decomposition Differential Revision: [D66517480](https://our.internmc.facebook.com/intern/diff/D66517480/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D66517480 |
Add checks in the ao numberic debugger to guard the debug handle consistency between aten op decomposition Differential Revision: [D66517480](https://our.internmc.facebook.com/intern/diff/D66517480/) [ghstack-poisoned]
Pull Request resolved: #141612 Add checks in the ao numberic debugger to guard the debug handle consistency during aten op decomposition ghstack-source-id: 257747832 Differential Revision: [D66517480](https://our.internmc.facebook.com/intern/diff/D66517480/)
This pull request was exported from Phabricator. Differential Revision: D66517480 |
@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 |
Stack from ghstack (oldest at bottom):
Add checks in the ao numberic debugger to guard the debug handle consistency between aten op decomposition
Differential Revision: D66517480
BC-breaking note
torch.ao.quantization.pt2e.graph_utils.get_control_flow_submodules
is No Longer a Public APIWe aim to make all functions under
torch.ao.quantization.pt2e.graph_utils
private. This update marksget_control_flow_submodules
as a private API.Currently, only
bfs_trace_with_node_process
remains public, but it will be marked private in the next release.BC-breaking note
torch.ao.quantization.pt2e.graph_utils.get_control_flow_submodules
is No Longer a Public APIWe aim to make all functions under
torch.ao.quantization.pt2e.graph_utils
private. This update marksget_control_flow_submodules
as a private API. If you have to or want to continue usingget_control_flow_submodules
, please make a private call by using_get_control_flow_submodules
.Currently, only
bfs_trace_with_node_process
remains public, but it will be marked private in the next release.Example:
Version 2.6:
Version 2.7: