Skip to content

Conversation

@xiaowuhu
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Mar 15, 2023

Codecov Report

Merging #526 (12d9293) into main (c2350a5) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #526      +/-   ##
==========================================
+ Coverage   73.71%   73.75%   +0.04%     
==========================================
  Files         109      109              
  Lines       10873    10882       +9     
  Branches     1131     1131              
==========================================
+ Hits         8015     8026      +11     
+ Misses       2553     2551       -2     
  Partials      305      305              
Impacted Files Coverage Δ
...s/function_libs/torch_aten/ops_correctness_test.py 90.32% <ø> (ø)
onnxscript/function_libs/torch_aten/ops/core.py 71.86% <100.00%> (+0.24%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@xiaowuhu xiaowuhu mentioned this pull request Mar 15, 2023
EXPECTED_SKIPS_OR_FAILS = (
xfail(
"allclose",
reason="allclose return Tenosr(BOOL) but torch return Scalar(bool)",
Copy link
Collaborator

Choose a reason for hiding this comment

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

We can convert the torch output back to a tensor for comparison. I remember this has been done already?

@justinchuby
Copy link
Collaborator

@xiaowuhu I added keepdims=False to ReduceSum to fix

@justinchuby
Copy link
Collaborator

I changed to use INT8 and ReduceMin. Hopefully that's more efficient

@justinchuby
Copy link
Collaborator

@xiaowuhu i think this is ready. Only a minor formatting error

@xiaowuhu xiaowuhu merged commit bff0b52 into main Mar 16, 2023
@xiaowuhu xiaowuhu deleted the xiaowu/addOp(isclose) branch March 16, 2023 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants