-
Notifications
You must be signed in to change notification settings - Fork 610
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
Compilation error for iree_linalg_ext.scan #17441
Comments
@AmosLewis Please assign this issue to concerned person. |
Discord discussion: https://discord.com/channels/689900678990135345/1242517396887961751 |
Can be fixed by @pashu123 's patch https://github.com/pashu123/iree/tree/scan_tile_issue, need to be merged |
PR #17761 |
Update the tile sizes to contain i64Attrs instead of arith.constant. Somehow it's giving dynamic shapes in tensor.extract_slice since the arith.constant op isn't folded or seen as a constant. To fix Issue: #17441
Are the tests in https://github.com/iree-org/iree/blob/main/tests/e2e/linalg_ext_ops/scan.mlir representative enough? |
) Update the tile sizes to contain i64Attrs instead of arith.constant. Somehow it's giving dynamic shapes in tensor.extract_slice since the arith.constant op isn't folded or seen as a constant. To fix Issue: iree-org#17441 Signed-off-by: Lubo Litchev <lubol@google.com>
What happened?
While compiling an IR, getting the below compilation failure. Although, the failure happens to be because of some dynamic dims but the input IR have all the static dims the dynamic dims are introduced by TileAndDistributeToWorkgroupsPass and then it results in failure.
Error:
Steps to reproduce your issue
Download the IR from https://gist.github.com/vivekkhandelwal1/5b07ce3c403b99dfda8ed64f5174595b
And run:
What component(s) does this issue relate to?
MLIR, Compiler
Version information
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: