-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Update pt2e numeric debugger to use node.meta["custom"] field #134040
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: With #131912 we now have a "custom" field in node.meta that can be preserved in * copy/deepcopy * run_decompositions() * serialization * re-exporting So we refactored numeric debugger to use this. Test Plan: python test/test_quantization.py TestNumericDebugger Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/134040
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit b7ec501 with merge base bce0cab ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…eld" Summary: With #131912 we now have a "custom" field in node.meta that can be preserved in * copy/deepcopy * run_decompositions() * serialization * re-exporting So we refactored numeric debugger to use this. Test Plan: python test/test_quantization.py TestNumericDebugger Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
…eld" Summary: With #131912 we now have a "custom" field in node.meta that can be preserved in * copy/deepcopy * run_decompositions() * serialization * re-exporting So we refactored numeric debugger to use this. Test Plan: python test/test_quantization.py TestNumericDebugger Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: With #131912 we now have a "custom" field in node.meta that can be preserved in * copy/deepcopy * run_decompositions() * serialization * re-exporting So we refactored numeric debugger to use this. Test Plan: python test/test_quantization.py TestNumericDebugger Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: b6af5d0 Pull Request resolved: #134040
@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 |
Summary: This is a follow up of #134040 to fix the remaining tests that still breaks right now, I think we'd need to fix something in export Test Plan: python test/test_quantization -k TestNumericDebugger Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: This is a follow up of #134040 to fix the remaining tests that still breaks right now, I think we'd need to fix something in export Test Plan: python test/test_quantization -k TestNumericDebugger Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
for node in graph_module.graph.nodes: | ||
if node.op != "placeholder" and NUMERIC_DEBUG_HANDLE_KEY not in node.meta: | ||
node.meta[NUMERIC_DEBUG_HANDLE_KEY] = unique_id | ||
if node.op in ["output", "placehodler"]: |
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.
typo: "placeholder"
…h#134040) Summary: With pytorch#131912 we now have a "custom" field in node.meta that can be preserved in * copy/deepcopy * run_decompositions() * serialization * re-exporting So we refactored numeric debugger to use this. Test Plan: python test/test_quantization.py TestNumericDebugger Reviewers: Subscribers: Tasks: Tags: Pull Request resolved: pytorch#134040 Approved by: https://github.com/tarun292
Stack from ghstack (oldest at bottom):
Summary:
With #131912 we now have a "custom" field in node.meta that can be preserved
in
So we refactored numeric debugger to use this.
Test Plan:
python test/test_quantization.py TestNumericDebugger
Reviewers:
Subscribers:
Tasks:
Tags: