Skip to content
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

Bail node adaptation if node has subgraph #146

Merged
merged 3 commits into from
Mar 13, 2024
Merged

Conversation

adityagoel4512
Copy link
Member

@adityagoel4512 adityagoel4512 commented Mar 11, 2024

We should avoid node adaptation when the node in question has a subgraph (until we have a proper implementation that addresses issues like #145). This would affect the "If", "Loop", "Scan" and "SequenceMap" nodes.

Note that previously, this would succeed if the subgraph did not reference anything outside of it. Is it worth making this check more complex/fine-grained and allow these to continue to succeed?

Checklist

  • Added a CHANGELOG.rst entry

@adityagoel4512
Copy link
Member Author

Do you have any concerns with this PR @cbourjau?

@adityagoel4512 adityagoel4512 merged commit e325278 into main Mar 13, 2024
12 checks passed
@adityagoel4512 adityagoel4512 deleted the if-adaptation branch March 13, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants