8000 [dynamo] wrap GraphModule exceptions in dynamo-wrapped tests by williamwen42 · Pull Request #126341 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

[dynamo] wrap GraphModule exceptions in dynamo-wrapped tests #126341

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

Closed
wants to merge 6 commits into from

Conversation

williamwen42
Copy link
Member
@williamwen42 williamwen42 commented May 15, 2024

[ghstack-poisoned]
@williamwen42 williamwen42 requested a review from a team as a code owner May 15, 2024 22:16
Copy link
pytorch-bot bot commented May 15, 2024

🔗 Helpful Links

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

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

✅ You can merge normally! (4 Unrelated Failures)

As of commit 04e58b1 with merge base c9172d4 (image):

UNSTABLE - The following jobs failed but were likely due to flakiness present on trunk and has been marked as unstable:

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

@williamwen42 williamwen42 added topic: not user facing topic category keep-going Don't stop on first failure, keep running tests until the end labels May 15, 2024
[ghstack-poisoned]
williamwen42 added a commit that referenced this pull request May 15, 2024
Copy link
Contributor
@anijain2305 anijain2305 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Though wondering if our eager backend should be just this.

@williamwen42
Copy link
Member Author

We should be allowing certain exceptions through, such as OOM. eager_noexcept should only be used when we're sure that the GraphModule is not expected to error - e.g. most dynamo (-wrapped) unittests.

Copy link
Contributor
@jansel jansel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable, but fix errors before landing

@anijain2305
Copy link
Contributor

If graph has mutation, it can lead to wrong results.

[ghstack-poisoned]
@pytorch-bot pytorch-bot bot added ciflow/linux-aarch64 linux aarch64 CI workflow module: cpu CPU specific problem (e.g., perf, algorithm) module: mkldnn Related to Intel IDEEP or oneDNN (a.k.a. mkldnn) integration labels May 24, 2024
@williamwen42
Copy link
Member Author

@jansel @anijain2305 xfailed most failing tests and created issues for them.

[ghstack-poisoned]
williamwen42 added a commit that referenced this pull request May 24, 2024
ghstack-source-id: bbb9173
Pull Request resolved: #126341
@ezyang ezyang removed their request for review May 25, 2024 00:05
Better approach to #126197 to catch issues like #125568.

cc jgong5 mingfeima XiaobingSuper sanchitintel ashokei jingxu10 gujinghui PenghuiCheng jianyuh min-jean-cho yanbing-j Guobing-Chen Xia-Weiwen snadampal voznesenskym penguinwu EikanWang zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
Better approach to #126197 to catch issues like #125568.

cc jgong5 mingfeima XiaobingSuper sanchitintel ashokei jingxu10 gujinghui PenghuiCheng jianyuh min-jean-cho yanbing-j Guobing-Chen Xia-Weiwen snadampal voznesenskym penguinwu EikanWang zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
williamwen42 added a commit that referenced this pull request May 28, 2024
@williamwen42
Copy link
Member Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label May 28, 2024
@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

Aidyn-A pushed a commit to tinglvv/pytorch that referenced this pull request May 30, 2024
@github-actions github-actions bot deleted the gh/williamwen42/92/head branch June 29, 2024 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/inductor ciflow/linux-aarch64 linux aarch64 CI workflow ciflow/trunk Trigger trunk jobs on your pull request keep-going Don't stop on first failure, keep running tests until the end Merged module: cpu CPU specific problem (e.g., perf, algorithm) module: dynamo module: mkldnn Related to Intel IDEEP or oneDNN (a.k.a. mkldnn) integration topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0