-
Notifications
You must be signed in to change notification settings - Fork 15
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
remove reduce ops workaround for keepDim attribute #2001
Conversation
c2def74
to
2236c94
Compare
include/ttmlir/Dialect/TTNN/Transforms/Workarounds/Decomposition/ReduceOpsRewritePattern.h
Outdated
Show resolved
Hide resolved
2e24b3f
to
ae3c8ae
Compare
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.
Thanks!
include/ttmlir/Dialect/TTNN/Transforms/Workarounds/Decomposition/ReduceOpsRewritePattern.h
Outdated
Show resolved
Hide resolved
@mmanzoorTT Thank you for making these changes! Just to make sure, you've verified that tests now pass in debug mode too? :) (because metal fix was unstable in debug mode) |
ae3c8ae
to
ced1b40
Compare
Yes. I tested metal fix in debug mode and all the tests worked :) |
include/ttmlir/Dialect/TTNN/Transforms/Workarounds/Decomposition/ReduceOpsRewritePattern.h
Outdated
Show resolved
Hide resolved
ced1b40
to
da50ff3
Compare
include/ttmlir/Dialect/TTNN/Transforms/Workarounds/Decomposition/ReduceOpsRewritePattern.h
Outdated
Show resolved
Hide resolved
da50ff3
to
3c46c36
Compare
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.
Thank you for making these changes Asif!
include/ttmlir/Dialect/TTNN/Transforms/Workarounds/Decomposition/ReduceOpsRewritePattern.h
Outdated
Show resolved
Hide resolved
include/ttmlir/Dialect/TTNN/Transforms/Workarounds/Decomposition/ReduceOpsRewritePattern.h
Outdated
Show resolved
Hide resolved
* Enable workaround for partial and full tensor reduction if 'KeepDim' attribute is not supported. * Enable workaround for full tensor reduction if 'KeepDim' attribute is supported.
3c46c36
to
1a92710
Compare
This workaround is still required in case of reducing entire tensor.
closes #1640