Conversation
[ghstack-poisoned]
…ctory" [ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
… tests with OpInfo" [ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
| return op.Mul(self, other) | ||
|
|
||
|
|
||
| def aten_mul_bool(self: TensorType, other: TensorType) -> TensorType: |
There was a problem hiding this comment.
Need to test this as well
Codecov Report
@@ Coverage Diff @@
## main #235 +/- ##
==========================================
+ Coverage 71.65% 71.69% +0.04%
==========================================
Files 93 93
Lines 8827 8833 +6
==========================================
+ Hits 6325 6333 +8
+ Misses 2502 2500 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
lintrunner found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
| return op.Mul(self, other) | ||
|
|
||
|
|
||
| def aten_mul_bool(self: BOOL, other: BOOL) -> BOOL: |
There was a problem hiding this comment.
BOOL[...] instead of BOOL ? Unless the type-annotation-design is going to change the meaning of BOOL, which is currently a tensor of rank-0
There was a problem hiding this comment.
yeah but mypy complains about BOOL[...]
There was a problem hiding this comment.
I’ll see if I can turn it off
There was a problem hiding this comment.
Couldn't make it to work. I will leave it as is for now as update when things fit together. Currently the types for the ops are also BOOL etc. I think?
|
|
||
| # Ops to be tested for numerical consistency between onnx and pytorch | ||
| OPINFO_FUNCTION_MAPPING = { | ||
| "add": core_ops.aten_add, |
There was a problem hiding this comment.
For my own knowledge: what is core_ops a reference to? I see core.py above.
There was a problem hiding this comment.
Oh, I see it's just an alias for the same
[ghstack-poisoned]
[ghstack-poisoned]
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #235 * #223 * __->__ #212
[ghstack-poisoned]
[ghstack-poisoned]
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #235 * __->__ #223
Stack from ghstack (oldest at bottom):