-
Notifications
You must be signed in to change notification settings - Fork 80
Skip a flaky matmul test | test(atenlib) #586
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
@BowenBao Inputs are actually printed here I just didn't realize it was special |
@@ -821,6 +821,11 @@ def _where_input_wrangler( | |||
matcher=lambda sample: not (sample.args[0][0].dtype == torch.bool), | |||
reason="this Aten overload only support tensor(bool) as args", | |||
), | |||
skip( | |||
"matmul", | |||
matcher=lambda sample: torch.numel(sample.input) == 0, |
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.
what is relationship of sample.input
and sample.args
btw?
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.
input is the first input. args[...] starts from the second
You have successfully added a new lintrunner configuration |
Codecov Report
@@ Coverage Diff @@
## main #586 +/- ##
=======================================
Coverage 74.13% 74.13%
=======================================
Files 109 109
Lines 11157 11157
Branches 1147 1147
=======================================
Hits 8271 8271
Misses 2575 2575
Partials 311 311
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Fixes #117718 Fixes #117725 It's actually a known issue in microsoft/onnxscript#586, and we do exclude the empty input test cases in aten_matmul. This PR follows the skip, and add aten_mm as well. Pull Request resolved: #118413 Approved by: https://github.com/thiagocrepaldi
Fixes pytorch#117718 Fixes pytorch#117725 It's actually a known issue in microsoft/onnxscript#586, and we do exclude the empty input test cases in aten_matmul. This PR follows the skip, and add aten_mm as well. Pull Request resolved: pytorch#118413 Approved by: https://github.com/thiagocrepaldi
ORT matmul produces nan on inputs with zero elements nondeterministically.
Fixes #538