-
Notifications
You must be signed in to change notification settings - Fork 14
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
Stablehlo MINIST Softmax test is failing due to Reduction Op #805
Comments
@mrakitaTT is looking into this. |
Please enable the tt-xla test once this has been resolved. |
I've made a fix for this last week to make softmax work (on the softmax branch), but after yesterday's discussion I am not sure if we want to check it in or we want to pursue this on the Metal side. Basically ttnn doesn't support calling reduce ops with I've opened an issue for this to Metal team: tenstorrent/tt-metal#13361 @tt-mpantic could you please help us escalate this? |
@LPanosTT, fyi. |
Moving to @tt-mpantic could you please help us escalate this? (sent dm on slack too) |
@nsmithtt @sdjordjevicTT In the meantime while this is being escalated to the Metal team, can we discuss the potential workaround? Because to me it doesn't seem likely that this will be fixed soon by Metal team and this issue is open for too long on our side, other people keep stumbling upon this issue and fixing it themselves (example: #899). Here is the proposed workaround decomposition (copying comment from my commit):
|
@mrakitaTT, the workaround sounds good to me, but let's do the workaround inside of TTNN dialect passes, not TTIR. @sdjordjevicTT has a document that outlines our plan for workarounds in TTNN, I tagged you in a comment on the doc. |
pytest -svv tests/TTIR/test_mnist.py::test_softmax
fails with error:
Always | FATAL | keepdim=False is not supported
The keep_dim flag for reduction Op is always set to false. It might require changing it to true followed by a reshape Op.
The text was updated successfully, but these errors were encountered: