-
Notifications
You must be signed in to change notification settings - Fork 21.8k
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
Create subgraph rewriter #49540
Create subgraph rewriter #49540
Conversation
[ghstack-poisoned]
ghstack-source-id: 2e7647351323b689634a1be1f2b85a0f7b02722e Pull Request resolved: #49540
💊 CI failures summary and remediationsAs of commit f8aa69f (more details on the Dr. CI page):
This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. This comment has been revised 30 times. |
[ghstack-poisoned]
ghstack-source-id: b0d6e3429a8f7860102b7735f99e01aa30aeba98 Pull Request resolved: #49540
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.
OK, I suggest going through the tests and making sure that they're testing pertinent parts of the algorithm. Most of them seem to end up with a no-op pattern or patterns that are untestable by comparing output values. Additionally, when i looked at the output module code, some of them seemed to have a lot of duplicate code.
I think the thing to do primarily for this PR is to try to simplify things as much as possible. I added some notes about how the replacement algorithm can be refined. Hopefully that will make things simpler and make the tests easier to write
[ghstack-poisoned]
ghstack-source-id: 221e3b493fff62ec1d229b45ce00c62ed672a2a6 Pull Request resolved: #49540
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.
Looking pretty good! Just some small stuff left
[ghstack-poisoned]
ghstack-source-id: 0136b617b32a9849e1c29d57836d311ce85ee677 Pull Request resolved: #49540
Codecov Report
@@ Coverage Diff @@
## gh/ansleyadelaide/24/base #49540 +/- ##
=============================================================
- Coverage 80.70% 80.56% -0.14%
=============================================================
Files 1904 1905 +1
Lines 206598 206688 +90
=============================================================
- Hits 166741 166527 -214
- Misses 39857 40161 +304 |
[ghstack-poisoned]
ghstack-source-id: 392ba8712b443f2c34353d9c6486a94b2ec92a62 Pull Request resolved: #49540
[ghstack-poisoned]
ghstack-source-id: 9c6a0a70c4552fd9a02a8a86e98e3fa8a12e32fc Pull Request resolved: #49540
Stack from ghstack:
Differential Revision: D25869707