Skip to content

[pytree] simplify public API exposition with __module__ #148328

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 83 commits into
base: gh/XuehaiPan/253/base
Choose a base branch
from

Conversation

XuehaiPan
Copy link
Collaborator

@XuehaiPan XuehaiPan commented Mar 3, 2025

Stack from ghstack (oldest at bottom):

Before this PR, the following statements are already available:

import torch

import torch.utils.pytree.python
from torch.utils.pytree import python
from torch.utils.pytree import cxx
from torch.utils.pytree.python import tree_map

torch.utils.pytree.python
torch.utils.pytree.python.tree_map
torch.utils.pytree.cxx
torch.utils.pytree.cxx.tree_map

This PR makes the following extra statements available:

import torch.utils.pytree.cxx
from torch.utils.pytree.cxx import tree_map

cc @zou3519 @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Mar 3, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/148328

Note: Links to docs will display an error until the docs builds have been completed.

❌ 2 New Failures

As of commit ac991d3 with merge base 556e2a7 (image):

NEW FAILURES - The following jobs have failed:

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

[ghstack-poisoned]
@XuehaiPan XuehaiPan added the ci-test-showlocals Show local variables on test failures label Mar 3, 2025
[ghstack-poisoned]
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Mar 3, 2025
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jun 6, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jun 9, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jun 11, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jun 16, 2025
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jun 18, 2025
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jun 23, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jun 24, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jun 24, 2025
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jun 27, 2025
XuehaiPan added a commit that referenced this pull request Jun 27, 2025
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jun 28, 2025
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jul 3, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 5, 2025
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jul 9, 2025
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jul 17, 2025
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jul 25, 2025
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jul 31, 2025
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Aug 8, 2025
XuehaiPan added a commit that referenced this pull request Aug 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/inductor ciflow/trunk Trigger trunk jobs on your pull request module: dynamo module: pytree open source topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants