-
Notifications
You must be signed in to change notification settings - Fork 24.2k
[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. ✅ You can merge normally! (1 Unrelated Failure)As of commit 797bb0f with merge base cb5f31a ( FLAKY - The following job failed but was likely due to flakiness present 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: fcf711e Pull Request resolved: pytorch#113258
ghstack-source-id: d69d3ee Pull Request resolved: pytorch#113258
ghstack-source-id: f1a5447 Pull Request resolved: pytorch#113258
ghstack-source-id: ad5bdb5 Pull Request resolved: pytorch#113258
ghstack-source-id: d9cf12d Pull Request resolved: pytorch#113258
ghstack-source-id: d50577d Pull Request resolved: pytorch#113258
ghstack-source-id: 35ad83a Pull Request resolved: pytorch#113258
ghstack-source-id: c2d73b2 Pull Request resolved: pytorch#113258
ghstack-source-id: 8c124ba Pull Request resolved: pytorch#113258
ghstack-source-id: 5c81c94 Pull Request resolved: pytorch#113258
ghstack-source-id: f200745 Pull Request resolved: pytorch#113258
ghstack-source-id: f200745 Pull Request resolved: pytorch#113258
ghstack-source-id: 4b702d6 Pull Request resolved: pytorch#113258
ghstack-source-id: 154648e Pull Request resolved: pytorch#113258
ghstack-source-id: 154648e Pull Request resolved: pytorch#113258
ghstack-source-id: 069d065 Pull Request resolved: pytorch#113258
Stack from ghstack (oldest at bottom):
treespec_{leaf,tuple,dict}
functions for args_spec modification #138214cc @zou3519