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

Skip to content

[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

Open
wants to merge 139 commits into
base: gh/XuehaiPan/14/base
Choose a base branch
from

Conversation

XuehaiPan
Copy link
Collaborator

@XuehaiPan XuehaiPan commented Nov 8, 2023

Copy link

pytorch-bot bot commented Nov 8, 2023

🔗 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 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 1 New Failure

As of commit e4184c7 with merge base 7e637de (image):

NEW FAILURE - The following job has failed:

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

@XuehaiPan XuehaiPan self-assigned this Nov 8, 2023
@XuehaiPan XuehaiPan added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 8, 2023
@XuehaiPan XuehaiPan requested review from ezyang and zou3519 November 8, 2023 15:06
XuehaiPan added a commit that referenced this pull request Nov 8, 2023
@ezyang
Copy link
Contributor

ezyang commented Nov 8, 2023

I don't really have any context for the work here; @zou3519 are you taking care of it?

@XuehaiPan
Copy link
Collaborator Author

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.

  • C++ pytree: for fast pytree flatten/unflatten
  • Python pytree: provide a pure Python simulation of the C++ pytree utilities for PyTorch Dynamo

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.

@zou3519
Copy link
Contributor

zou3519 commented Nov 9, 2023

I don't really have any context for the work here; @zou3519 are you taking care of it?

Yeah I got it

XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Mar 20, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Mar 31, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Mar 31, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Mar 31, 2025
[ghstack-poisoned]
@XuehaiPan XuehaiPan requested a review from zou3519 April 1, 2025 15:34
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Apr 1, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Apr 2, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Apr 2, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Apr 2, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Apr 3, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Apr 5, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Apr 7, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Apr 23, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Apr 26, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request May 1, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-test-showlocals Show local variables on test failures ciflow/trunk Trigger trunk jobs on your pull request module: pytree no-stale open source Stale topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants