Skip to content
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

[inductor] Fix xpasses being impossible #106631

Closed
wants to merge 5 commits into from

Conversation

peterbell10
Copy link
Collaborator

@peterbell10 peterbell10 commented Aug 4, 2023

Stack from ghstack (oldest at bottom):

This test raises an error inside the test when an xfailed test succeeds, but
is also decorated with the xfail decorator which converts the error to an xfail.
Instead, this lets the test function pass normally and lets the xfail decorator
raise "Unexpected success".

I also updated the COLLECT_EXPECT code and run it to get the updated set of
failures.

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @ipiszy @ngimel @yf225 @chenyang78 @kadeng @muchulee8 @aakhundov

This test raises an error inside the test when an xfailed test succeeds, but
is also decorated with the xfail decorator which converts the error to an xfail.
Instead, this lets the test function pass normally and lets the xfail decorator
raise "Unexpected success".

I also updated the COLLECT_EXPECT code and run it to get the updated set of
failures.

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Aug 4, 2023

🔗 Helpful Links

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

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

✅ 1 Unrelated Failure

As of commit 7baf76e:

UNSTABLE - The following job failed but was 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.

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Aug 4, 2023
peterbell10 added a commit that referenced this pull request Aug 4, 2023
This test raises an error inside the test when an xfailed test succeeds, but
is also decorated with the xfail decorator which converts the error to an xfail.
Instead, this lets the test function pass normally and lets the xfail decorator
raise "Unexpected success".

I also updated the COLLECT_EXPECT code and run it to get the updated set of
failures.

ghstack-source-id: 4fb34013e249682e1ec2c0a5047788205586de59
Pull Request resolved: #106631
This test raises an error inside the test when an xfailed test succeeds, but
is also decorated with the xfail decorator which converts the error to an xfail.
Instead, this lets the test function pass normally and lets the xfail decorator
raise "Unexpected success".

I also updated the COLLECT_EXPECT code and run it to get the updated set of
failures.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx ipiszy ngimel yf225 chenyang78 kadeng muchulee8 aakhundov

[ghstack-poisoned]
peterbell10 added a commit that referenced this pull request Aug 4, 2023
This test raises an error inside the test when an xfailed test succeeds, but
is also decorated with the xfail decorator which converts the error to an xfail.
Instead, this lets the test function pass normally and lets the xfail decorator
raise "Unexpected success".

I also updated the COLLECT_EXPECT code and run it to get the updated set of
failures.

ghstack-source-id: b059c82e69f290dc8e6deda0b36aae0f9226383e
Pull Request resolved: #106631
Copy link
Collaborator

@lezcano lezcano left a comment

Choose a reason for hiding this comment

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

Game changer.

This test raises an error inside the test when an xfailed test succeeds, but
is also decorated with the xfail decorator which converts the error to an xfail.
Instead, this lets the test function pass normally and lets the xfail decorator
raise "Unexpected success".

I also updated the COLLECT_EXPECT code and run it to get the updated set of
failures.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx ipiszy ngimel yf225 chenyang78 kadeng muchulee8 aakhundov

[ghstack-poisoned]
peterbell10 added a commit that referenced this pull request Aug 4, 2023
This test raises an error inside the test when an xfailed test succeeds, but
is also decorated with the xfail decorator which converts the error to an xfail.
Instead, this lets the test function pass normally and lets the xfail decorator
raise "Unexpected success".

I also updated the COLLECT_EXPECT code and run it to get the updated set of
failures.

ghstack-source-id: 84fa27d2f92cd8f8a38dfb4d72dd5bec3a449db1
Pull Request resolved: #106631
@peterbell10 peterbell10 added the ciflow/trunk Trigger trunk jobs on your pull request label Aug 5, 2023
peterbell10 added a commit to peterbell10/pytorch that referenced this pull request Aug 7, 2023
This test raises an error inside the test when an xfailed test succeeds, but
is also decorated with the xfail decorator which converts the error to an xfail.
Instead, this lets the test function pass normally and lets the xfail decorator
raise "Unexpected success".

I also updated the COLLECT_EXPECT code and run it to get the updated set of
failures.

ghstack-source-id: 84fa27d2f92cd8f8a38dfb4d72dd5bec3a449db1
Pull Request resolved: pytorch#106631
This test raises an error inside the test when an xfailed test succeeds, but
is also decorated with the xfail decorator which converts the error to an xfail.
Instead, this lets the test function pass normally and lets the xfail decorator
raise "Unexpected success".

I also updated the COLLECT_EXPECT code and run it to get the updated set of
failures.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx ipiszy ngimel yf225 chenyang78 kadeng muchulee8 aakhundov

[ghstack-poisoned]
peterbell10 added a commit that referenced this pull request Aug 7, 2023
This test raises an error inside the test when an xfailed test succeeds, but
is also decorated with the xfail decorator which converts the error to an xfail.
Instead, this lets the test function pass normally and lets the xfail decorator
raise "Unexpected success".

I also updated the COLLECT_EXPECT code and run it to get the updated set of
failures.

ghstack-source-id: a227ca2fa19fe10d21ee2028454022a8b1c8ea16
Pull Request resolved: #106631
@peterbell10 peterbell10 marked this pull request as ready for review August 7, 2023 18:05
This test raises an error inside the test when an xfailed test succeeds, but
is also decorated with the xfail decorator which converts the error to an xfail.
Instead, this lets the test function pass normally and lets the xfail decorator
raise "Unexpected success".

I also updated the COLLECT_EXPECT code and run it to get the updated set of
failures.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx ipiszy ngimel yf225 chenyang78 kadeng muchulee8 aakhundov

[ghstack-poisoned]
peterbell10 added a commit that referenced this pull request Aug 7, 2023
This test raises an error inside the test when an xfailed test succeeds, but
is also decorated with the xfail decorator which converts the error to an xfail.
Instead, this lets the test function pass normally and lets the xfail decorator
raise "Unexpected success".

I also updated the COLLECT_EXPECT code and run it to get the updated set of
failures.

ghstack-source-id: 03e50939c861770171aaf8ecc868342dd0be8d77
Pull Request resolved: #106631
@peterbell10
Copy link
Collaborator 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

@facebook-github-bot facebook-github-bot deleted the gh/peterbell10/592/head branch August 11, 2023 14:17
Cyril-Anto pushed a commit to Cyril-Anto/pytorch that referenced this pull request Aug 17, 2023
This test raises an error inside the test when an xfailed test succeeds, but
is also decorated with the xfail decorator which converts the error to an xfail.
Instead, this lets the test function pass normally and lets the xfail decorator
raise "Unexpected success".

I also updated the COLLECT_EXPECT code and run it to get the updated set of
failures.

Pull Request resolved: pytorch#106631
Approved by: https://github.com/lezcano
ghstack dependencies: pytorch#106319, pytorch#106400
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.

None yet

4 participants