-
Notifications
You must be signed in to change notification settings - Fork 24.9k
[pytree] support PyStructSequence types for Python pytree #113258
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
base: gh/XuehaiPan/14/base
Are you sure you want to change the base?
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/113258
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 Unrelated FailureAs of commit 1fa6a44 with merge base 3e5e094 ( NEW FAILURE - The following job has failed:
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]
cc zou3519 [ghstack-poisoned]
cc zou3519 [ghstack-poisoned]
I don't really have any context for the work here; @zou3519 are you taking care of it? |
@ezyang The context is to make Python pytree and C++ pytree utilities provide unified APIs. This would make users switching between these two implementations much easier.
I figured out why the Dynamo tests failed and updated the PR. See my comment in #113258 (comment) and #113258 (comment). Sorry for the pin noise @ezyang. |
Yeah I got it |
cc zou3519 [ghstack-poisoned]
ghstack-source-id: d94a116 Pull Request resolved: pytorch#113258
ghstack-source-id: f148b5b Pull Request resolved: pytorch#113258
ghstack-source-id: 40edb5c Pull Request resolved: pytorch#113258
ghstack-source-id: f495659 Pull Request resolved: pytorch#113258
ghstack-source-id: 16d2580 Pull Request resolved: pytorch#113258
ghstack-source-id: 7993ea5 Pull Request resolved: pytorch#113258
ghstack-source-id: e4e1733 Pull Request resolved: pytorch#113258
ghstack-source-id: 9e17a37 Pull Request resolved: pytorch#113258
ghstack-source-id: fb07f15 Pull Request resolved: pytorch#113258
ghstack-source-id: 6e355d6 Pull Request resolved: pytorch#113258
Stack from ghstack (oldest at bottom):
treespec_{leaf,tuple,dict}
functions for args_spec modification #138214cc @zou3519