KEMBAR78
[pytree] support PyStructSequence types for Python pytree by XuehaiPan · Pull Request #113258 · pytorch/pytorch · GitHub
Skip to content

Conversation

@XuehaiPan
Copy link
Collaborator

@XuehaiPan XuehaiPan commented Nov 8, 2023

@pytorch-bot
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 e8190e5 with merge base 322091d (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]
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jun 18, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jun 27, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jun 28, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 3, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 9, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 25, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 31, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Aug 17, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Aug 17, 2025
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Sep 6, 2025
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Oct 8, 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