Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[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

Open
wants to merge 54 commits into
base: gh/XuehaiPan/185/base
Choose a base branch
from

Conversation

XuehaiPan
Copy link
Collaborator

@XuehaiPan XuehaiPan commented Oct 17, 2024

Stack from ghstack (oldest at bottom):

This PR uses the key path API (generated by tree_flatten_with_path) to index through the pytree wrapped with torch.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

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Oct 17, 2024

🔗 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 Failures

As of commit e870dbc with merge base ab81ca5 (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added module: dynamo release notes: fx release notes category labels Oct 17, 2024
XuehaiPan added a commit that referenced this pull request Oct 17, 2024
ghstack-source-id: c0e5bca
Pull Request resolved: #138202
@XuehaiPan XuehaiPan requested review from Chillee and zou3519 October 17, 2024 12:23
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Oct 17, 2024
@XuehaiPan XuehaiPan marked this pull request as ready for review October 17, 2024 12:32
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Oct 17, 2024
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Oct 17, 2024
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Oct 17, 2024
[ghstack-poisoned]
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Oct 17, 2024
ghstack-source-id: 6ffd1e9
Pull Request resolved: #138202
XuehaiPan added a commit that referenced this pull request Oct 17, 2024
ghstack-source-id: 6ffd1e9
Pull Request resolved: #138202
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Dec 25, 2024
ghstack-source-id: fbbcb4a
Pull Request resolved: #138202
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jan 6, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jan 13, 2025
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jan 13, 2025
ghstack-source-id: 6755af9
Pull Request resolved: #138202
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jan 22, 2025
ghstack-source-id: c42136b
Pull Request resolved: #138202
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jan 22, 2025
ghstack-source-id: 45b2b0f
Pull Request resolved: #138202
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jan 22, 2025
ghstack-source-id: 09952e5
Pull Request resolved: #138202
@pytorch-bot pytorch-bot bot temporarily deployed to upload-benchmark-results January 22, 2025 16:48 Inactive
@pytorch-bot pytorch-bot bot temporarily deployed to upload-benchmark-results January 22, 2025 16:48 Inactive
Copy link
Contributor

@jansel jansel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failing tests

[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Feb 4, 2025
ghstack-source-id: 5c10326
Pull Request resolved: #138202
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Feb 16, 2025
ghstack-source-id: d564fdc
Pull Request resolved: #138202
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Feb 20, 2025
ghstack-source-id: 58bed3c
Pull Request resolved: #138202
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Mar 3, 2025
ghstack-source-id: 48ee0e0
Pull Request resolved: #138202
Copy link
Contributor

github-actions bot commented May 2, 2025

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions bot added the Stale label May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants