-
Notifications
You must be signed in to change notification settings - Fork 6
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
Change named attribute of reduce_avg to align with tt-mlir naming. #1101
Conversation
fb97756
to
e825b63
Compare
@mstojkovicTT Once we get your pass in place, let's see do we want to revert this change, and keep TBH, |
Agreed, this was just because we are currently obligated to align with attribute names with mlir... |
|
|
@nvukobratTT 3 tests XPASS on CI and fail with PCC error when I run them locally.
All pcc errors are due to avg pool2d op. It is strange why they all pass on CI. |
e825b63
to
6286c1d
Compare
|
|
Aren't you making changes to the
|
My bad, going back and forth between avg_pool test and decompose to reduce_avg... You are right, avg_pool is decomposed to reduce_avg, therefore the change... Will edit this. |
…gn with tt-mlir naming. - Edit unit tests and change xfail reason for test_avg_pool2d_resnet.
6286c1d
to
1fa75d9
Compare
Follow up: Tests were failing locally because of local environment. I tried to run them on other machine with clean build an they passed. |
|
|
As #1117 is merged now, I will revert this change and add dim mapping to dim_arg in a separate PR :)) |
…apping (#1129) ### Problem description The previous change in [PR #1101](#1101) modified the named attribute of `reduce_avg` from `dim` to `dim_arg` to align with tt-mlir naming conventions. However, this change has been identified as problematic and needs to be reverted. ### What's changed This PR reverts the changes introduced in [PR #1101](#1101), restoring the named attribute of `reduce_avg` back to `dim`. Additionally, the `op_mapping` has been updated from `dim` to `dim_arg` to ensure compatibility with ttir. ### Checklist - [x] New/Existing tests provide coverage for changes
Solves #1574
dim
todim_arg
.