-
Notifications
You must be signed in to change notification settings - Fork 87
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
Bertsquad fails assertion during lowering #2487
Comments
Reshape copy should just produce standard shape. |
It started breaking after this PR : #2319 |
@umangyadav can you point me to a working commit? I'm finding that with commits from before PR 2319, loads of both models I'm testing fail but with different error messages. I wonder if this change just masks a pre-existing error with different assertions. |
When i tested locally it worked untill commit before #2319. You can try going further back in time and see if it works for you(it should work.). |
The problem is not #2319. The |
Although, #2038 should fix the assertion. |
Steps to reproduce :
Build develop branch of migraphx with "debug" build.
Run bertsquad-12.onnx using following command:
Reason is that reshape copy operator is not producing standard shaped output and during lowering it gets replaced with "contiguous + reshape lazy + contiguous` which makes output standard shape.
following is the input reshape:
lowering replaces it with following :
and then it fails this assertion :
https://github.com/ROCmSoftwarePlatform/AMDMIGraphX/blob/44463b94989bfe3f3849ed29629576abd53a9976/src/targets/gpu/lowering.cpp#L76
The text was updated successfully, but these errors were encountered: