KEMBAR78
handle AttrProxy._modules when module is overwritten as None by pianpwk · Pull Request #139957 · pytorch/pytorch · GitHub
Skip to content

Conversation

@pianpwk
Copy link
Contributor

@pianpwk pianpwk commented Nov 7, 2024

Fixes tracing through mod._modules access, when one of the submodules has been reset to None

cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 7, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit bcf2540 with merge base 781c68c (image):
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot pytorch-bot bot added ciflow/inductor release notes: fx release notes category labels Nov 7, 2024
@pianpwk pianpwk changed the title try handle AttrProxy._modules when module is overwritten as None Nov 7, 2024
@facebook-github-bot
Copy link
Contributor

@pianpwk has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 7, 2024
Summary:
Fixes #ISSUE_NUMBER


cc ezyang SherlockNoMad EikanWang jgong5 wenzhe-nrv


Differential Revision: D65578018

Pulled By: pianpwk
@facebook-github-bot facebook-github-bot force-pushed the pianpwk/proxy_base_type_none branch from 3f99119 to bcf2540 Compare November 7, 2024 16:35
@facebook-github-bot
Copy link
Contributor

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

@pianpwk pianpwk marked this pull request as ready for review November 7, 2024 17:08
@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

pobin6 pushed a commit to pobin6/pytorch that referenced this pull request Dec 5, 2024
…#139957)

Fixes tracing through `mod._modules` access, when one of the submodules has been reset to None

Pull Request resolved: pytorch#139957
Approved by: https://github.com/zhxchen17
@github-actions github-actions bot deleted the pianpwk/proxy_base_type_none branch December 8, 2024 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request fb-exported fx Merged release notes: fx release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants