Skip to content

Conversation

@williamwen42
Copy link
Member

@williamwen42 williamwen42 commented Dec 13, 2024

Stack from ghstack (oldest at bottom):

Internal xref: https://fb.workplace.com/groups/1075192433118967/permalink/1559636954674510/

If the _fn returned by _TorchDynamoContext.__call__ makes an external function call, dynamo is recursively invoked. This can cause issues if there are added calls that are not skipped by Dynamo. So we should disable the eval frame callback as much as possible.

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

Differential Revision: D67211749

williamwen42 added a commit that referenced this pull request Dec 13, 2024
…xt wrapper function

ghstack-source-id: 1815a7c
Pull Request resolved: #143211
@pytorch-bot
Copy link

pytorch-bot bot commented Dec 13, 2024

🔗 Helpful Links

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

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

✅ No Failures

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

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

@williamwen42 williamwen42 added the topic: not user facing topic category label Dec 13, 2024
@williamwen42
Copy link
Member Author

@williamwen42 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 Dec 13, 2024
@williamwen42
Copy link
Member Author

@pytorchbot merge

@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

@github-actions github-actions bot deleted the gh/williamwen42/189/head branch January 16, 2025 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants