-
Notifications
You must be signed in to change notification settings - Fork 506
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
Investigate failure of ElementwiseReluModule
and ResNet18StaticModule
TOSA tests
#1231
Comments
Summary of changes: - Tensor dialect now sets `emitAccessorPrefix` to prefixed, thus requring updates to methods that retrieve arguments [https://reviews.llvm.org/D131361] - Update MHLO to build with LLVM commit hash 2dde4ba - Replace `AbsOp` with `AbsFOp` [https://reviews.llvm.org/D131325] - Replace deprecated `getValue()` with `value()` [https://reviews.llvm.org/D131349] - Remove `AnalysisState::defaultInitialize()` [https://reviews.llvm.org/D131746] - Update MHLO MLIR tests to use the updated assembly format - Disabled two failing TOSA tests (Github Issue link: #1231)
Without looking at anything in detail, this sounds like something might have changed in TosaToLinAlg/LinAlgNamed/Arith that generates functionally wrong output, since the TOSA content is unchanged here. |
@sjarus do you have someone on your side that can investigate this? |
Adding @eric-k256 and @u99127, as well as @jpienaar who has been reviewing recent TosaToXXX PRs . I think this might just be a git bisect away from catching which TosaToXX change broke the functional correctness of these models. I'm traveling over the next 24hrs so I don't have the ability to look right now unfortunately. |
So this failed after the last LLVM update? Could you add the before and after rev here? (ReluN was removed 4 days ago upstream, and llvm/llvm-project@444b4fd seems likely candidate fix given replacement) |
I can confirm that llvm/llvm-project@444b4fd fixes the problem. |
This seems reasonable to wait until the next update -- the XFAILs will pass and we can update them and close this bug. |
Sounds good to me. |
Thanks all for diagnosing this so quickly! Looking forward to next Monday when I can close this issue without doing any work ;) |
Thank you for your assistance, @jpienaar and @eric-k256 ! |
Resolved in LLVM tag update PR #1263. |
Both
ElementwiseReluModule
andResNet18StaticModule
TOSA tests fail after updating LLVM. See CI log for details.The text was updated successfully, but these errors were encountered: