-
Notifications
You must be signed in to change notification settings - Fork 336
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
Implement decomposition from onnx.Sum
to sequence of onnx.Add
#2964
Implement decomposition from onnx.Sum
to sequence of onnx.Add
#2964
Conversation
Can one of the admins verify this patch? |
I can't find any current lowering path for |
Signed-off-by: Sam <srcarroll314@gmail.com>
b9e145c
to
89dc581
Compare
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
just realized i messsed up the one input case. fixing now |
Signed-off-by: Sam <srcarroll314@gmail.com>
Can one of the admins verify this patch? |
not sure what's up with the jenkins failures though |
Starting a new batch of CI, let me look at the PR soon. |
Thanks. I still need to figure out the test failure too. I thought fixing the one input case woud have resolved it but it didn't. I'm unfamiliar with the test that's failing so will have to dig. |
@srcarroll here is the log of the error for Linux amd64
It feels like something is missing for the shape inference. If you convert the sum into a series of add before shape infrence, then shape inference should be able to operate normally. Maybe you need to put it earlier than currently placed. You can run the test directly in your env
You can add compiler options (for debugging) by defining the Hope this helps. |
Note on the |
Signed-off-by: Sam <srcarroll314@gmail.com>
@AlexandreEichenberger thanks for the pointers. I'm actually having a hard time setting up my environment to run python tests and haven't had time to look into fixing it. so i'm just guessing based on the error what the problem is. i think this error would happen any time the result type of i was able to reproduce the error on an example IR and have added that case to lit test to test the fix |
Can one of the admins verify this patch? |
@jenkins-droid test this please |
Yes, setting up is a bit tricky, to get ONNX installed (I do a |
@jenkins-droid test this please |
(I think our Jenkins is having problems, folks are working on this) |
@Sunny-Anand mind doing a "test this please" on this PR once the Jenkins issue is fixed, thanks |
All checks have passed. |
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.
LGTM, thanks for adding the pattern.
Let me know if you want me to merge it to main @srcarroll
@AlexandreEichenberger thanks! yes please do merge. |
@srcarroll thanks for your contributions, much appreciated |
Jenkins Linux amd64 Build #15775 [push] Implement decomposition ... started at 18:50 |
Jenkins Linux s390x Build #15778 [push] Implement decomposition ... started at 19:50 |
Jenkins Linux ppc64le Build #14805 [push] Implement decomposition ... started at 20:02 |
Jenkins Linux amd64 Build #15775 [push] Implement decomposition ... passed after 1 hr 18 min |
Jenkins Linux s390x Build #15778 [push] Implement decomposition ... passed after 1 hr 42 min |
Jenkins Linux ppc64le Build #14805 [push] Implement decomposition ... passed after 2 hr 17 min |
No description provided.