-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[primTorch] Check error_regex
in test_python_ref_errors
#86987
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
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/86987
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 3475cd3: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
si = ei.sample_input | ||
meta_sample = si.transform(_to_tensormeta) | ||
# TODO: match strings | ||
with self.assertRaisesRegex(ei.error_type, ""): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the main change, which required me to adjust everything else. Without this, strings of error inputs for refs are not checked. The other PRs re-enable testing for everything skipped in this PR.
This comment was marked as outdated.
This comment was marked as outdated.
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@lezcano PTAL at the whole stack |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! @mruberry can you have a look?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
@pytorchbot merge -g |
Merge startedYour change will be merged once all checks on your PR pass since you used the green (-g) flag (ETA: 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
…86987) cc @ezyang @mruberry @ngimel @lezcano @fdrocha Pull Request resolved: pytorch#86987 Approved by: https://github.com/lezcano, https://github.com/mruberry
…86987) cc @ezyang @mruberry @ngimel @lezcano @fdrocha Pull Request resolved: pytorch#86987 Approved by: https://github.com/lezcano, https://github.com/mruberry
Stack from ghstack:
masked_fill
ref #87767cat
and related refs #87766error_regex
intest_python_ref_errors
#86987cc @ezyang @mruberry @ngimel @lezcano @fdrocha