-
Notifications
You must be signed in to change notification settings - Fork 24.9k
[hop schema] add schema.tree_spec to support pytree inputs #154191
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
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/154191
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (2 Unrelated Failures)As of commit a4273c4 with merge base 08d15d3 ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
torch/_higher_order_ops/base_hop.py
Outdated
@@ -197,6 +197,7 @@ def gen_schema(self, subgraph, *operands, **kwargs): | |||
for out in output: | |||
schema_gen.add_output(out) | |||
|
|||
# schema_gen.add_schema_tree_spec(subgraph, *operands, **kwargs) |
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.
What's the comment?
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.
yeah, we no longer need this anymore. If no schema_tree_spec is added, we'll just treat it as None.
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.
test?
[ghstack-poisoned]
Starting merge as part of PR stack under #154192 |
[ghstack-poisoned]
Starting merge as part of PR stack under #154192 |
Starting merge as part of PR stack under #154192 |
Starting merge as part of PR stack under #154192 |
Pull Request resolved: #154192 Approved by: https://github.com/zou3519 ghstack dependencies: #155261, #154072, #154191
Stack from ghstack (oldest at bottom):