-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Relay] Non-recursive Dtor for Let #9461
Conversation
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.
LGTM.
This PR is similar to the previous one (#7832) that makes deconstructing Call nodes non-recursive.
Also cc @mbrookhart
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.
LGTM, thank you!
FYI, I had almost exactly this code in here: #8434 And then I got dragged away to other problems and never fixed the un-related bugs in other changes I made :D :( |
@mbrookhart Would you mind if I port the |
Please, take whatever you want, I never got back to figuring out which of the changes I made ended up causing CI errors. |
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.
LGTM
* non-recursive let desctruction * fix serialization * Fix serialization * lint * lint * lint * add tests for serial/deserial * lint Co-authored-by: Haozheng Fan <hzfan@apache.com>
* non-recursive let desctruction * fix serialization * Fix serialization * lint * lint * lint * add tests for serial/deserial * lint Co-authored-by: Haozheng Fan <hzfan@apache.com>
* non-recursive let desctruction * fix serialization * Fix serialization * lint * lint * lint * add tests for serial/deserial * lint Co-authored-by: Haozheng Fan <hzfan@apache.com>
* non-recursive let desctruction * fix serialization * Fix serialization * lint * lint * lint * add tests for serial/deserial * lint Co-authored-by: Haozheng Fan <hzfan@apache.com>
* non-recursive let desctruction * fix serialization * Fix serialization * lint * lint * lint * add tests for serial/deserial * lint Co-authored-by: Haozheng Fan <hzfan@apache.com>
Destructor for Let overflows when the graph size grows. This PR replaces the recursive destructor with non-recursive one.
cc @yzhliu @comaniac