-
Notifications
You must be signed in to change notification settings - Fork 24.1k
[POC][FX][pytree] cleanup fx pytree implementation #138202
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/185/base
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/138202
Note: Links to docs will display an error until the docs builds have been completed. ❌ 27 New FailuresAs of commit e870dbc with merge base ab81ca5 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ghstack-source-id: c0e5bca Pull Request resolved: pytorch#138202
ghstack-source-id: c0e5bca Pull Request resolved: pytorch#138202
ghstack-source-id: f40229f Pull Request resolved: pytorch#138202
ghstack-source-id: f40229f Pull Request resolved: pytorch#138202
ghstack-source-id: fbbcb4a Pull Request resolved: pytorch#138202
ghstack-source-id: fbbcb4a Pull Request resolved: pytorch#138202
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.
Failing tests
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
Stack from ghstack (oldest at bottom):
treespec_{leaf,tuple,dict}
functions for args_spec modification #138214This PR uses the key path API (generated by
tree_flatten_with_path
) to index through the pytree wrapped withtorch.fx.Proxy
. This allows us to support third-party containers and simplify the implementation of fx pytree.cc @zou3519 @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov @rec