Skip to content
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

Fail in find_inner_broadcast due to preserve_output_layout #3649

Open
shivadbhavsar opened this issue Nov 20, 2024 · 0 comments
Open

Fail in find_inner_broadcast due to preserve_output_layout #3649

shivadbhavsar opened this issue Nov 20, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@shivadbhavsar
Copy link
Contributor

Seen after #3587

Take a very simple program:

arg0 = @param:arg0 -> float_type, {2, 1, 4}, {4, 4, 1}
@1 = multibroadcast[out_lens={1, 2, 3, 4},out_dyn_dims={}](arg0) -> float_type, {1, 2, 3, 4}, {0, 4, 0, 1}
@2 = @return(@1)

This will fail compile at the find_inner_broadcast pass after the layout_convolution pass adds a layout op:

arg0 = @param:arg0 -> float_type, {2, 1, 4}, {4, 4, 1}
@1 = multibroadcast[out_lens={1, 2, 3, 4},out_dyn_dims={}](arg0) -> float_type, {1, 2, 3, 4}, {0, 4, 0, 1}
@2 = layout[permutation={1, 3, 2, 0}](@1) -> float_type, {1, 2, 3, 4}, {1, 12, 1, 3}
@3 = @return(@2)
@shivadbhavsar shivadbhavsar added the bug Something isn't working label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants