Skip to content

Conversation

yushangdi
Copy link
Contributor

@yushangdi yushangdi commented Aug 13, 2025

Summary: When an IR node is an inherited class, post_init is called once for each super().init() call. To avoid duplicated calls, we make stack trace computation happen lazily.

Test Plan:
CI

Rollback Plan:

Differential Revision: D80137870

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben

Copy link

pytorch-bot bot commented Aug 13, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 8406ec9 with merge base 7d87e35 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80137870

@yushangdi yushangdi requested a review from angelayi August 13, 2025 00:59
yushangdi added a commit to yushangdi/pytorch that referenced this pull request Aug 13, 2025
Summary:

When an IR node is an inherited class, post_init is called once for each super().__init__() call. To avoid duplicated calls, we make stack trace computation happen lazily.

Test Plan:
CI

Rollback Plan:

Differential Revision: D80137870
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80137870

yushangdi added a commit to yushangdi/pytorch that referenced this pull request Aug 13, 2025
Summary:

When an IR node is an inherited class, post_init is called once for each super().__init__() call. To avoid duplicated calls, we make stack trace computation happen lazily.

Test Plan:
CI

Rollback Plan:

Differential Revision: D80137870
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80137870

yushangdi added a commit to yushangdi/pytorch that referenced this pull request Aug 13, 2025
Summary:

When an IR node is an inherited class, post_init is called once for each super().__init__() call. To avoid duplicated calls, we make stack trace computation happen lazily.

Test Plan:
CI

Rollback Plan:

Differential Revision: D80137870
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80137870

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Aug 13, 2025
@yushangdi yushangdi added the topic: not user facing topic category label Aug 13, 2025
Summary:

When an IR node is an inherited class, post_init is called once for each super().__init__() call. To avoid duplicated calls, we make stack trace computation happen lazily.

Test Plan:
CI

Rollback Plan:

Differential Revision: D80137870
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80137870

yushangdi added a commit to yushangdi/pytorch that referenced this pull request Aug 13, 2025
Summary:

When an IR node is an inherited class, post_init is called once for each super().__init__() call. To avoid duplicated calls, we make stack trace computation happen lazily.

Test Plan:
CI

Rollback Plan:

Reviewed By: angelayi

Differential Revision: D80137870
yushangdi added a commit to yushangdi/pytorch that referenced this pull request Aug 13, 2025
Summary:

When an IR node is an inherited class, post_init is called once for each super().__init__() call. To avoid duplicated calls, we make stack trace computation happen lazily.

Test Plan:
CI

Rollback Plan:

Reviewed By: angelayi

Differential Revision: D80137870
yushangdi added a commit to yushangdi/pytorch that referenced this pull request Aug 13, 2025
Summary:

When an IR node is an inherited class, post_init is called once for each super().__init__() call. To avoid duplicated calls, we make stack trace computation happen lazily.

Test Plan:
CI

Rollback Plan:

Reviewed By: angelayi

Differential Revision: D80137870
yushangdi added a commit to yushangdi/pytorch that referenced this pull request Aug 13, 2025
Summary:

When an IR node is an inherited class, post_init is called once for each super().__init__() call. To avoid duplicated calls, we make stack trace computation happen lazily.

Test Plan:
CI

Rollback Plan:

Reviewed By: angelayi

Differential Revision: D80137870
@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

chuanhaozhuge pushed a commit that referenced this pull request Aug 14, 2025
Summary: When an IR node is an inherited class, post_init is called once for each super().__init__() call. To avoid duplicated calls, we make stack trace computation happen lazily.

Test Plan:
CI

Rollback Plan:

Differential Revision: D80137870

Pull Request resolved: #160487
Approved by: https://github.com/angelayi
chuanhaozhuge pushed a commit that referenced this pull request Aug 18, 2025
Summary: When an IR node is an inherited class, post_init is called once for each super().__init__() call. To avoid duplicated calls, we make stack trace computation happen lazily.

Test Plan:
CI

Rollback Plan:

Differential Revision: D80137870

Pull Request resolved: #160487
Approved by: https://github.com/angelayi
can-gaa-hou pushed a commit to can-gaa-hou/pytorch that referenced this pull request Aug 22, 2025
Summary: When an IR node is an inherited class, post_init is called once for each super().__init__() call. To avoid duplicated calls, we make stack trace computation happen lazily.

Test Plan:
CI

Rollback Plan:

Differential Revision: D80137870

Pull Request resolved: pytorch#160487
Approved by: https://github.com/angelayi
markc-614 pushed a commit to markc-614/pytorch that referenced this pull request Sep 17, 2025
Summary: When an IR node is an inherited class, post_init is called once for each super().__init__() call. To avoid duplicated calls, we make stack trace computation happen lazily.

Test Plan:
CI

Rollback Plan:

Differential Revision: D80137870

Pull Request resolved: pytorch#160487
Approved by: https://github.com/angelayi
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