8000 [pytree] support PyStructSequence types for Python pytree by XuehaiPan · Pull Request #113258 · pytorch/pytorch · GitHub
[go: up one dir, main page]

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 143 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.

✅ You can merge normally! (1 Unrelated Failure)

As of commit 797bb0f with merge base cb5f31a (image):

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.

@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

[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
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request May 8, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request May 11, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request May 14, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request May 14, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request May 16, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request May 16, 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
0